This is my first shortcut but this shortcut opens a app turns the flashlight on and off and a notification that says Your Gonna Have A Bad Time also puts volume to 0 and brightness to 0
What's New
Version 1.0
First release
What it does
11 actions-
Open App
-
Set Brightness
-
Set Flashlight
-
Set Flashlight
-
Set Flashlight
-
Set Flashlight
-
Set Flashlight
-
Set Flashlight
-
Set Volume
-
Show NotificationYour Gonna Have A Bad Time
-
Vibrate Device
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 darkorange
#define glyph magicWandAlt
openApp("com.trickshotlabs.stickwithit")
setBrightness(0)
toggleFlashlight(1)
flashlightOff()
flashlightOff()
flashlightOff()
toggleFlashlight(1)
flashlightOff()
setVolume(0)
showNotification("Your Gonna Have A Bad Time", "Bad Choice")
vibrate()
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 yeesheeyosh
You Might Also Like
Advertisement