Warning message creator
This is a simple shortcut that I made to make custom error messages
0112pjhallScan med din iPhone for at installere
Forhåndsvisning
This is a simple shortcut that I made to make custom error messages. (Most features only work on Mac OS Monterey.)
Nyheder
Version 1.1
Added the ability to force a kernel panic for Mac users only.
Hvad den gør
10 handlinger-
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
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#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();}\"")
}
Åbn i Cherri Playground
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.
Bedømmelser og anmeldelser
Skriv en anmeldelse–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ingen anmeldelser endnu. Vær den første!
Annonce
Mere fra 0112pjhall
Du vil måske også kunne lide
Annonce