Scanne avec ton iPhone pour installer
Aperçu
Set and Reset your alarm for 30 minutes, each 5 minutes apart. To avoid duplicity the shortcut will delete all alarms and create new. Also an option to delete all the alarms without setting a new one
Nouveautés
Version 1.0
First release
Ce qu’il fait
10 actions-
Get Alarmscom.apple.mobiletimer-framework.MobileTimerIntents
-
If
-
Run ShortcutSet new Alarm
-
If
-
Choose from MenuWhat do you want?
-
Choose from MenuDelete alarms and set new ones
-
Delete Alarmcom.apple.mobiletimer
-
Run ShortcutSet new Alarm
-
Choose from MenuDelete the alarms
-
Delete Alarmcom.apple.mobiletimer
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
const Alarm = getAlarms()
if !Alarm {
runSelf(ShortcutResult)
} else {
menu "What do you want?" {
item "Delete alarms and set new ones":
rawAction("com.apple.mobiletimer.DeleteAlarmIntent", {
"AppIntentDescriptor": "",
"entities": "Alarm"
})
run("Set new Alarm", ShortcutResult)
item "Delete the alarms":
rawAction("com.apple.mobiletimer.DeleteAlarmIntent", {
"AppIntentDescriptor": "",
"entities": "Alarm"
})
}
}
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é
Ça pourrait aussi te plaire
Publicité