Scanne avec ton iPhone pour installer
Thank you by : MavLiker
Nouveautés
Version 1.0
First release
Ce qu’il fait
14 actions-
Ask for InputWhat is the minimum number?
-
Ask for InputWhat is the maximum number?
-
Random Number
-
If
-
Show Alert
-
Stop This Shortcut
-
If
-
Show NotificationThe number is …
-
Wait
-
Choose from MenuDo you want to go again?
-
Choose from Menuye
-
Run ShortcutNew Shortcut 2
-
Choose from MenuTwo
-
Stop This Shortcut
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.
#define color darkgray
#define glyph circledPi
const ProvidedInput = prompt("What is the minimum number?", "Number")
const ProvidedInput1 = prompt("What is the maximum number?", "Number")
randomNumber(ProvidedInput, ProvidedInput1)
if ProvidedInput1 < ProvidedInput {
confirm("This operation will not work. Try again!")
stop()
} else {
}
showNotification("The number is {}")
wait(2)
menu "Do you want to go again?" {
item "Yes":
runSelf()
item "No":
stop()
}
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é