Mit dem iPhone scannen, um zu installieren
Tells you what US State you are currently in.
Neue Funktionen
Version 1.0
First release
Was er macht
9 Aktionen-
Show AlertWarning
-
Get Current Location
-
Show Notification…
-
Wait
-
Choose from MenuDo you like to see a list of all US state abbreviations?
-
Choose from MenuYes
-
Open URLs
-
Choose from MenuNo
-
Stop This Shortcut
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#include 'actions/web'
#include 'actions/location'
#define color darkgray
#define glyph circledQuestionMark
alert("The shortcut may take a second based on your device due to the \"Get current location\" block getting the best location it can get so you don't get the wrong state. EX: CA when you're in WA.", "Warning")
getCurrentLocation()
showNotification(['State'], "You are in:")
wait(2)
menu "Do you like to see a list of all US state abbreviations?" {
item "Yes":
openURL("https://planrva.org/wp-content/uploads/USPS-State-Abbreviation.pdf")
item "No":
stop()
}
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 smudgington
Das gefällt dir vielleicht auch
Werbung