Scan med din iPhone for at installere
Nearby Places
Nyheder
Version 1.0
First release
Hvad den gør
16 handlinger-
Choose from MenuWich One?
-
Choose from MenuAirports
-
Get Current Location
-
Search Local Businesses
-
Choose from List
-
Show in Maps
-
Choose from MenuGas Stations
-
Get Current Location
-
Search Local Businesses
-
Choose from List
-
Show in Maps
-
Choose from MenuCustom
-
Get Current Location
-
Search Local Businesses
-
Choose from List
-
Show in Maps
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#include 'actions/location'
#define color darkblue
#define glyph airplane
menu "Wich One?" {
item "Airports":
const CurrentLocation = getCurrentLocation()
rawAction("is.workflow.actions.searchlocalbusinesses", {
"WFInput": "CurrentLocation",
"WFSearchQuery": "Airports"
})
const ChosenItem = chooseFromList(LocalBusinesses, "Nearby Airports")
openInMaps(ChosenItem)
item "Gas Stations":
const CurrentLocation1 = getCurrentLocation()
rawAction("is.workflow.actions.searchlocalbusinesses", {
"WFInput": "CurrentLocation1",
"WFSearchQuery": "Gas Stations"
})
const ChosenItem1 = chooseFromList(LocalBusinesses1, "Nearby Gas Stations")
openInMaps(ChosenItem1)
item "Custom":
const CurrentLocation2 = getCurrentLocation()
rawAction("is.workflow.actions.searchlocalbusinesses", {
"WFInput": "CurrentLocation2",
"WFSearchQuery": "{Ask}"
})
const ChosenItem2 = chooseFromList(LocalBusinesses2, "Nearby ")
openInMaps(ChosenItem2)
}
Å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 mrlizard
Du vil måske også kunne lide
Annonce