Scanne avec ton iPhone pour installer
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.
Nouveautés
Version 1.0
First release
Ce qu’il fait
6 actions-
Ask for InputWhat time shall I set DND until
-
Format Date
-
Text
-
Set Focus
-
Show Notification
-
Create Alarm
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#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}"
})
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Plus de tonydudley
Ça pourrait aussi te plaire
Publicité