ShareShortcuts

I’m Traveling

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

blackhatteam
„I’m Traveling“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit blackhatteam die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
32K
Gesichert
0
Aktionen
28
Kategorie
Travel and Maps
Version
1.0
Sprache
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.

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 20. Jun 2023

First release

Was er macht

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

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#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()
	}
}
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Werbung

Mehr von blackhatteam

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung