Mit dem iPhone scannen, um zu installieren
Ts is ass
Neue Funktionen
Version 1.0
First release
Was er macht
18 Aktionen-
Show NotificationWINTER
-
Wait
-
Create Workflowcom.apple.shortcuts
-
Repeat
-
Add to Home Screen
-
Go to Home Screen
-
Show NotificationSPRING
-
Create Workflowcom.apple.shortcuts
-
Repeat
-
Add to Home Screen
-
Show NotificationSUMMER
-
Create Workflowcom.apple.shortcuts
-
Repeat
-
Add to Home Screen
-
Show NotificationTHE LAST SEASON, FALL
-
Create Workflowcom.apple.shortcuts
-
Repeat
-
Add to Home Screen
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#define mac false
#include 'actions/shortcuts'
#define color darkgray
#define glyph fourSquares
showNotification("WINTER", "Season")
wait(3)
const CreateShortcut = makeShortcut("Ice ", false)
repeat _ for 10 {
rawAction("com.apple.shortcuts.AddShortcutToHomeScreenAction", {
"AppIntentDescriptor": "",
"image": "",
"shortcut": "CreateShortcut"
})
}
returnToHomescreen()
showNotification("SPRING", "Season")
const CreateShortcut1 = makeShortcut("Flowers", false)
repeat _ for 10 {
rawAction("com.apple.shortcuts.AddShortcutToHomeScreenAction", {
"AppIntentDescriptor": "",
"image": "",
"shortcut": "CreateShortcut1",
"title": "Flowers"
})
}
showNotification("SUMMER", "Season")
const CreateShortcut2 = makeShortcut("Heat", false)
repeat _ for 10 {
rawAction("com.apple.shortcuts.AddShortcutToHomeScreenAction", {
"AppIntentDescriptor": "",
"image": "",
"shortcut": "CreateShortcut2",
"title": "Heat waves"
})
}
showNotification("THE LAST SEASON, FALL", "LAST SEASON")
const CreateShortcut3 = makeShortcut("Leaves ", false)
repeat _ for 20 {
rawAction("com.apple.shortcuts.AddShortcutToHomeScreenAction", {
"AppIntentDescriptor": "",
"image": "",
"shortcut": "CreateShortcut3",
"title": "Leaves"
})
}
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 lhazelhayesispeak
Das gefällt dir vielleicht auch
Werbung