Don’t work for iPad.
What's New
Version 1.0
First release
What it does
22 actions-
Vibrate Device
-
Set Flashlight
-
Vibrate Device
-
Set Brightness
-
Vibrate Device
-
Set Volume
-
Vibrate Device
-
Set Wi-Fi
-
Vibrate Device
-
Set Bluetooth
-
Vibrate Device
-
Set Airplane Mode
-
Vibrate Device
-
Set Cellular Data
-
Vibrate Device
-
Set Low Power Mode
-
Vibrate Device
-
Get Battery Level
-
Show Notification
-
Vibrate Device
-
Set Flashlight
-
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 red
#define glyph battery
vibrate()
toggleFlashlight(0.5)
vibrate()
setBrightness(1)
vibrate()
setVolume(1)
vibrate()
setWifi(true)
vibrate()
setBluetooth(true)
vibrate()
setAirplaneMode(false)
vibrate()
setCellularData(true)
vibrate()
setLowPowerMode(false)
vibrate()
getBatteryLevel()
showNotification("", "Battery: {}%", true)
vibrate()
flashlightOn(0.5)
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 widowild
You Might Also Like
Advertisement