Scan med din iPhone for at installere
Report the crashes
Nyheder
Version 1.0
First release
Hvad den gør
21 handlinger-
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
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#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()
}
Å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 turtle
Du vil måske også kunne lide
Annonce