Mit dem iPhone scannen, um zu installieren
Set Do not disturb for a given time, includes a notification it’s set and then sets an alarm at the time DND is finished.
Neue Funktionen
Version 1.0
First release
Was er macht
6 Aktionen-
Ask for InputWhat time shall I set DND until
-
Format Date
-
Text
-
Set Focus
-
Show Notification
-
Create Alarm
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#include 'actions/calendar'
#define color darkorange
#define glyph alarmClock
prompt("What time shall I set DND until", "Date")
formatDate("", "None")
const Text = "{}"
setFocusMode(, "Time", Text, Text)
showNotification("", "DND set until {Text}")
rawAction("is.workflow.actions.alarm.create", {
"WFLabel": "DND Completed",
"WFTime": "{Text}"
})
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 tonydudley
Das gefällt dir vielleicht auch
Werbung