Scan with your iPhone to install
Funny prank to send to your friends
What's New
Version 1.0
First release
What it does
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
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#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")
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 gr3y
You Might Also Like
Advertisement