Scanne avec ton iPhone pour installer
Funny prank to send to your friends
Nouveautés
Version 1.0
First release
Ce qu’il fait
15 actions-
Go to Home Screen
-
Speak Text
-
Repeat
-
Set Brightness
-
Set Brightness
-
Set Brightness
-
Go to Home Screen
-
Speak Text
-
Open App
-
Repeat
-
Create Note
-
Open App
-
Add New Event
-
Add New Reminder
-
Speak Text
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.
#include 'actions/text'
#define mac false
#include 'actions/device'
#define color red
#define glyph faceWink
returnToHomescreen()
speak("You got Pranked")
repeat _ for 10 {
setBrightness(0)
setBrightness(1)
}
setBrightness(0.3072916567325592)
returnToHomescreen()
speak("Now let's have some fun")
openApp("com.apple.mobilenotes")
repeat _ for 10 {
rawAction("com.apple.mobilenotes.SharingExtension", {
"AppIntentDescriptor": "",
"WFCreateNoteInput": "You got pranked :P"
})
}
openApp("com.apple.mobilecal")
rawAction("is.workflow.actions.addnewevent", {
"WFCalendarItemEndDate": "Today",
"WFCalendarItemStartDate": "Today",
"WFCalendarItemTitle": "Got pranked"
})
rawAction("is.workflow.actions.addnewreminder", {
"WFAlertCustomTime": "{CurrentDate['Time']}",
"WFAlertEnabled": "Alert",
"WFCalendarItemTitle": "Got pranked",
"WFImages": "CreateNote",
"WFPriority": "High"
})
speak("That's it for now wait until version two")
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 gr3y
Ça pourrait aussi te plaire
Publicité