ShareShortcuts

I’m Traveling

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

blackhatteam
Fork “I’m Traveling”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so blackhatteam gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
32K
Saved
0
Actions
28
Category
Travel and Maps
Version
1.0
Language
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.

What's New

Version 1.0

First release

Version History
1.0 Jun 20, 2023

First release

What it does

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

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#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()
	}
}
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

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

Advertisement

More by blackhatteam

See All

You Might Also Like

See All
Advertisement