ShareShortcuts

Directions!

Use this simple Shortcut to calculate how far your destination is

qwertyuio
Fork “Directions!”

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 qwertyuio 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
44K
Saved
1
Actions
16
Category
API
Version
2.0
Language
EN

Use this simple Shortcut to calculate how far your destination is. You can also pull up a route to your destination all in one! Updates are to be expected.

What's New

Version 2.0

Added two more options!

Version History
2.0 Jan 20, 2022

Added two more options!

1.0 Jan 20, 2022

First release

What it does

16 actions
  1. Choose from Menu
  2. Choose from Menu
    Directions
  3. Ask for Input
    City or town
  4. Show Directions
  5. Choose from Menu
    Distance Calculater
  6. Ask for Input
    City or town
  7. Getdistance
  8. Show Result
  9. Choose from Menu
    I am bored
  10. List
  11. Get Item from List
  12. Show Directions
  13. Choose from Menu
    Nearby Parks
  14. Search Local Businesses
  15. Get Item from List
  16. Show Directions

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 color lightblue
#define glyph car


menu nil {
item "Directions":
	const ProvidedInput = prompt("City or town")
	rawAction("is.workflow.actions.getdirections", {
		"WFDestination": "ProvidedInput"
	})
item "Distance Calculater":
	const ProvidedInput1 = prompt("City or town")
	rawAction("is.workflow.actions.getdistance", {
		"WFGetDirectionsActionMode": "Ask",
		"WFGetDistanceDestination": "ProvidedInput1"
	})
	show("{} Miles")
item "I am bored":
	const List = list("Columbus, OH", "Cleveland, OH", "Hocking Hills, OH")
	const ItemFromList = getFirstItem(List)
	rawAction("is.workflow.actions.getdirections", {
		"WFDestination": "ItemFromList",
		"WFGetDirectionsActionMode": "Ask"
	})
item "Nearby Parks":
	rawAction("is.workflow.actions.searchlocalbusinesses", {
		"WFSearchQuery": "Parks",
		"WFSearchRadius": ""
	})
	const ItemFromList1 = getFirstItem(LocalBusinesses)
	rawAction("is.workflow.actions.getdirections", {
		"WFDestination": "ItemFromList1",
		"WFGetDirectionsActionMode": "Ask"
	})
}
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 qwertyuio

See All

You Might Also Like

See All
Advertisement