ShareShortcuts

Start My Day

Start your day with the weather, traffic conditions and a news summary

blackhatteam
Создать форк «Start My Day»

Создали что-то новое на основе этой команды? Поделитесь ей как форком: она станет вашей собственной командой, которой вы управляете, а обе страницы будут ссылаться друг на друга, чтобы blackhatteam получил(а) признание.

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
31K
Сохранено
1
Действия
28
Категория
Routines
Версия
1.0
Язык
EN

Start your day with the weather, traffic conditions and a news summary.

With Start My Day you will get a brief overview of the weather, traffic conditions for your area with a brief summary of some world news.

The shortcut gets traffic data from Google with news from NPR and uses ChatGPT to generate the result.

Activate the shortcut with "Hey Siri: Start My Day"

*Location data used for traffic conditions may not be precise.

Что нового

Версия 1.0

First release

История версий
1.0 26 июл 2023 г.

First release

Что делает

Действий: 28
  1. Get File
  2. If
  3. Create Folder
  4. Show Alert
  5. Open URLs
  6. Wait
  7. Text
  8. Close Tab
    com.apple.mobilesafari
  9. Go to Home Screen
  10. Show Alert
  11. Stop This Shortcut
  12. Wait
  13. Text
  14. Speak Text
  15. Get Current Weather
  16. Get Details of Weather
  17. Calculate
  18. Get Details of Weather
  19. Text
  20. URL
    https://www.google.com/search?q=local+traffic+news
  21. Get Contents of Web Page
  22. Ask ChatGPT
  23. Text
  24. URL
    https://www.npr.org/sections/news/
  25. Get Contents of Web Page
  26. Ask ChatGPT
  27. Text
  28. Speak Text

Посмотреть как код
Бета

Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.

#define mac false
#include 'actions/web'
#include 'actions/documents'
#define color darkblue
#define glyph newsArticle

const File = getFileFromFolder(, "MyDay", false)

if !File {
	createFolder("MyDay")
	confirm("Run Initial Setup? ")
	openURL("http://www.blackhatteams.com/p/myday.html")
	wait(6)
	const Text = "MyDay"
	rawAction("com.apple.mobilesafari.CloseTab", {
		"AppIntentDescriptor": "",
		"target": "Text"
	})
	returnToHomescreen()
	confirm("Setup Complete! ")
	stop()
}
wait(0)
speak()
const WeatherConditions = getCurrentWeather()
const Humidity = getWeatherDetail(WeatherConditions, "Humidity")
getWeatherDetail(WeatherConditions, "High")
url("https://www.google.com/search?q=local+traffic+news")
getWebpageContents()
rawAction("com.openai.chat.AskIntent", {
	"AppIntentDescriptor": "",
	"ShowWhenRun": false,
	"newChat": true,
	"prompt": "Get the first traffic result text from: \\\"{}\\\""
})
url("https://www.npr.org/sections/news/")
getWebpageContents()
rawAction("com.openai.chat.AskIntent", {
	"AppIntentDescriptor": "",
	"ShowWhenRun": false,
	"newChat": true,
	"prompt": "Get two National headlines from: \\\"{}\\\""
})
speak("{}\n\n{}\n\n{}\n")
Открыть в Cherri Playground Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.

Оценки и отзывы

Написать отзыв
–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Пока нет отзывов. Поделись мнением первым!

Реклама

Ещё от blackhatteam

См. все

Вам также может понравиться

См. все
Реклама