Warning message creator
This is a simple shortcut that I made to make custom error messages
0112pjhallScan with your iPhone to install
Preview
This is a simple shortcut that I made to make custom error messages. (Most features only work on Mac OS Monterey.)
What's New
Version 1.1
Added the ability to force a kernel panic for Mac users only.
What it does
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
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#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();}\"")
}
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by 0112pjhall
You Might Also Like
Advertisement