Scan med din iPhone for at installere
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.
Nyheder
Version 2.0
Added two more options!
Hvad den gør
16 handlinger-
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
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#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"
})
}
Åbn i Cherri Playground
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.
Bedømmelser og anmeldelser
Skriv en anmeldelse–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ingen anmeldelser endnu. Vær den første!
Annonce
Mere fra qwertyuio
Du vil måske også kunne lide
Annonce