ShareShortcuts

Directions!

Use this simple Shortcut to calculate how far your destination is

qwertyuio
Bifurcar “Directions!”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que qwertyuio reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
44K
Guardado
1
Acciones
16
Categoría
API
Versión
2.0
Idioma
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.

Novedades

Versión 2.0

Added two more options!

Historial de versiones
2.0 20 de ene. de 2022

Added two more options!

1.0 20 de ene. de 2022

First release

Qué hace

16 acciones
  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

Ver como código
Beta

Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.

#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 = getListItem(List, 0)
	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"
	})
}
Abrir en Cherri Playground Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.

Valoraciones y reseñas

Escribe una reseña
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!

Publicidad

Más de qwertyuio

Ver todo

También te puede gustar

Ver todo
Publicidad