Warning message creator
This is a simple shortcut that I made to make custom error messages
0112pjhallScanne avec ton iPhone pour installer
Aperçu
This is a simple shortcut that I made to make custom error messages. (Most features only work on Mac OS Monterey.)
Nouveautés
Version 1.1
Added the ability to force a kernel panic for Mac users only.
Ce qu’il fait
10 actions-
Choose from MenuWhat would you like create
-
Choose from MenuCreate Message
-
Ask for InputWhat would you like your message to say
-
Show AlertWarning!
-
Choose from MenuCreate Notification
-
Ask for InputWhat would you like your notification to say
-
Show Notification…
-
Choose from MenuForce Crash (Mac OS Only)
-
Show AlertReminder
-
Run Shell Script
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 mac true
#include 'actions/mac'
#define color orange
#define glyph alertTriangle
menu "What would you like create" {
item "Create Message":
prompt("What would you like your message to say", "Text")
alert(, "Warning!")
item "Create Notification":
prompt("What would you like your notification to say", "Text")
showNotification(, "Notification", true)
item "Force Crash (Mac OS Only)":
alert("You must disable the SIP (System Integrity Protection) before you can do this", "Reminder")
runShellScript("sudo dtrace -w -n \"BEGIN{ panic();}\"")
}
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 0112pjhall
Ça pourrait aussi te plaire
Publicité