Warning message creator
This is a simple shortcut that I made to make custom error messages
0112pjhallEscaneie com o iPhone para instalar
Pré-visualização
This is a simple shortcut that I made to make custom error messages. (Most features only work on Mac OS Monterey.)
Novidades
Versão 1.1
Added the ability to force a kernel panic for Mac users only.
O que ele faz
10 ações-
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
Ver como código
Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.
#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();}\"")
}
Abrir no Cherri Playground
Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.
Avaliações e comentários
Escrever uma avaliação–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!
Publicidade
Mais de 0112pjhall
Você também pode gostar
Publicidade