Scanne avec ton iPhone pour installer
Report the crashes
Nouveautés
Version 1.0
First release
Ce qu’il fait
21 actions-
CommentMake the input 3rr0rc0d3:Error Reason:Shortcut Name and then a exit shortcut under
-
Text
-
If
-
Get File
-
If
-
Text
-
Stop This Shortcut
-
If
-
Text
-
Stop This Shortcut
-
Split Text
-
Set VariableIndex
-
Get Item from List
-
Get Item from List
-
Text
-
Choose from Menu…
-
Choose from MenuRun the shortcut again
-
Get Item from List
-
Run Shortcut
-
Choose from MenuExit
-
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 yellow
#define glyph alertTriangle
/*
Make the input
3rr0rc0d3:Error Reason:Shortcut Name
and then a exit shortcut under
*/
const Text = "{ShortcutInput}"
if Text contains "check" {
const File = getFileFromFolder(, "crashreporter.txt", false)
if !File {
const Text1 = "Successful"
stop()
} else {
const Text2 = "Unsuccessful, please delete crashreporter.txt"
stop()
}
}
splitText(ShortcutInput, ":")
@Index
const error = getListItem(@Index, 1)
const ErrorDescription = getListItem(@Index, 2)
const description = "Whoops, an error occurred.\nError code: {error}\nReason: {ErrorDescription}"
menu description {
item "Run the shortcut again":
const Shortcut = getListItem(ShortcutInput, 3)
runSelf()
item "Exit":
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é
Plus de turtle
Ça pourrait aussi te plaire
Publicité