Scanne avec ton iPhone pour installer
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.
Nouveautés
Version 2.0
Added two more options!
Ce qu’il fait
16 actions-
Choose from Menu
-
Choose from MenuDirections
-
Ask for InputCity or town
-
Show Directions
-
Choose from MenuDistance Calculater
-
Ask for InputCity or town
-
Getdistance
-
Show Result
-
Choose from MenuI am bored
-
List
-
Get Item from List
-
Show Directions
-
Choose from MenuNearby Parks
-
Search Local Businesses
-
Get Item from List
-
Show Directions
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#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"
})
}
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 qwertyuio
Ça pourrait aussi te plaire
Publicité