Mit dem iPhone scannen, um zu installieren
For Shortcuts Coding Language (ALPHA)
Neue Funktionen
Version 1.0
First release
Was er macht
9 Aktionen-
Text
-
Text
-
Split Text
-
If
-
Get Item from List
-
If
-
Set Focus
-
If
-
Run ShortcutShortcuts Coding Language (ALPHA)
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#define color darkgray
#define glyph circledI
const Text1 = "Ignore ALPHA Warning\nSet Focus :1: Do Not Disturb :2: On\nBlock Mode Block Mode Example"
const Text = "{ShortcutInput}"
const SplitText = splitText(Text)
if Text contains "Block Mode Text" {
const ItemFromList = getFirstItem(SplitText)
if ItemFromList == "Do Not Disturb" {
toggleFocusMode()
}
} else {
runSelf(Text1)
}
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 coltensus
Das gefällt dir vielleicht auch
Werbung