Mit dem iPhone scannen, um zu installieren
Vorschau
Search anywhere near and far!
Neue Funktionen
Version 1.0
First release
Was er macht
7 Aktionen-
Ask for InputWhat to you want to look up?
-
Show NotificationSearching … near and far.
-
Search Local Businesses
-
Show NotificationResults found!
-
List
-
Choose from List
-
Show Directions
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#define color red
#define glyph locationPin
const ProvidedInput = prompt("What to you want to look up?")
showNotification("Searching {ProvidedInput} near and far.", "Searching...", ProvidedInput)
rawAction("is.workflow.actions.searchlocalbusinesses", {
"WFSearchQuery": "{ProvidedInput}",
"WFSearchRadius": ""
})
showNotification("Results found!", LocalBusinesses)
const List = list(LocalBusinesses)
const ChosenItem = chooseFromList(List, "Is this what you were looking for?")
rawAction("is.workflow.actions.getdirections", {
"WFDestination": "ChosenItem"
})
In Cherri Playground öffnen
Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.
Bewertungen und Rezensionen
Rezension schreiben–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Werbung
Mehr von shorcutdaw
Das gefällt dir vielleicht auch
Werbung