ShareShortcuts

Start My Day

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

blackhatteam
Dupliquer « Start My Day »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que blackhatteam soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
31K
Enregistré
1
Actions
28
Catégorie
Routines
Version
1.0
Langue
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.

Nouveautés

Version 1.0

First release

Historique des versions
1.0 26 juil. 2023

First release

Ce qu’il fait

28 actions
  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

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#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")
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de blackhatteam

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité