ShareShortcuts

I’m Traveling

Use Siri to get a route overview and view it in Maps

blackhatteam
Dupliquer « I’m Traveling »

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
32K
Enregistré
0
Actions
28
Catégorie
Travel and Maps
Version
1.0
Langue
EN

Use Siri to get a route overview and view it in Maps.

The shortcut will get an overview of the route from the Bing search website and use the ChatGPT app to generate the result.

Activate the shortcut with "Hey Siri: I'm Traveling"

  • provide the city and state you are traveling to.
  • you can also provide a specific place, like Yellowstone National Park.

You will get an overview of options (if more than one) and are then asked if you want to choose a route. If you say Yes, the shortcut will open the Maps app.

*The ChatGPT app is required for this shortcut.

*Make sure "While Using the App" is selected in Settings - Location Services - Safari Websites. You can also go to bing.com to enable location permissions.

Nouveautés

Version 1.0

First release

Historique des versions
1.0 20 juin 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. Text
  12. Speak Text
  13. Dictate Text
  14. Text
  15. URL
    https://www.bing.com/search?q=…
  16. Get Contents of Web Page
  17. Ask ChatGPT
  18. Text
  19. Speak Text
  20. Wait
  21. Text
  22. Speak Text
  23. Dictate Text
  24. If
  25. Show Directions
  26. If
  27. If
  28. Stop This Shortcut

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 car

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

if !File {
	createFolder("Travel")
	confirm("Run Initial Setup? ")
	openURL("http://www.blackhatteams.com/p/travel.html")
	wait(6)
	const Text = "Travel"
	rawAction("com.apple.mobilesafari.CloseTab", {
		"AppIntentDescriptor": "",
		"target": "Text"
	})
	returnToHomescreen()
	confirm("Setup Complete! Run Shortcut?")
}
speak()
const DictatedText1 = listen()
url("https://www.bing.com/search?q={}")
getWebpageContents()
rawAction("com.openai.chat.AskIntent", {
	"AppIntentDescriptor": "",
	"ShowWhenRun": false,
	"newChat": true,
	"prompt": "Provide an answer using this page: \\\"{}\\\""
})
speak()
wait(1)
speak()
const DictatedText = listen()

if DictatedText == "Yes" {
	rawAction("is.workflow.actions.getdirections", {
		"WFDestination": "DictatedText1",
		"WFGetDirectionsActionApp": "Maps"
	})
} else {
	if DictatedText == "No" {
		stop()
	}
}
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é