Scan with your iPhone to install
Get all 4 parts for it to work.
What's New
Version 1.0
First release
What it does
15 actions-
Get Device Details
-
If
-
Set Brightness
-
Set Brightness
-
Run Shortcut67 Virus Part 1
-
Run Shortcut67 Virus Part 3
-
If
-
Set Brightness
-
Set Brightness
-
Set Volume
-
Set Volume
-
Set Flashlight
-
Set Flashlight
-
Run Shortcut67 Virus Part 1
-
Run Shortcut67 Virus Part 3
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#define mac false
#include 'actions/device'
#define color purple
const DeviceModel = getDeviceDetail("Device Model")
if DeviceModel == "iPad" {
setBrightness(1)
setBrightness(0.1484375)
const ShortcutResult = runSelf()
runSelf(ShortcutResult)
} else {
setBrightness(1)
setBrightness(0.1510416716337204)
setVolume(1)
setVolume(0)
flashlightOff()
toggleFlashlight(0.5)
const ShortcutResult1 = runSelf()
runSelf(ShortcutResult1)
}
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 mrgoatfan
You Might Also Like
Advertisement