Preview
Cooling station allows you to cool your device when the device has heat issues inside GUARANTEED TO COOL ANY DEVICE however but not completely Shortcut features: - locks screen of the given time of output - cools any device - sets back things changed - initial step corrections THE PREVIOUS FEATURE OF THIS Shortcut HAS BEEN REMOVE FOR Illegal AND DANGEROUS REASONS! IF YOU WICH TO GET PREVIOUS SHORTCUT MESSAGE ME
What's New
Version 1.0
First release
What it does
32 actions-
Show AlertCOOLING STATION
-
Show AlertCOOLING STATION
-
Repeat
-
Ask for InputFor how long? (1 = 1 sec, 60 = 1 min) (MAX 2 MINS)
-
Number
-
If
-
Show AlertWARNING
-
If
-
Show AlertCOOLING STATION
-
Show AlertCOOLING STATION
-
Set Volume
-
Set Flashlight
-
Set Low Power Mode
-
Set Brightness
-
Set Focus
-
Repeat
-
Wait
-
Lock Screen
-
Set Brightness
-
Show AlertCOOLING STATION
-
Set Focus
-
Set Volume
-
Set Flashlight
-
Set Low Power Mode
-
Go to Home Screen
-
Choose from MenuSome stuff has been changed.. if you want to change back you may..
-
Choose from MenuYes
-
Show Alert
-
Show Alert
-
Posters Switch
-
Choose from Menuno, keep it
-
Stop and Output
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 darkblue
alert("Do you want to cool your device?", "COOLING STATION")
alert("Initial step is being made..", "COOLING STATION")
repeat _ for 62 {
const AskForInput = prompt("For how long? (1 = 1 sec, 60 = 1 min) (MAX 2 MINS)", "Number")
const Number = 120
if Number < AskForInput {
alert("The numbers has exceeded 2 mins please type a number lower then 2 mins..", "WARNING")
} else {
alert("The system has been unlocked.. cooling your device..", "COOLING STATION")
alert("Locking the device please do not open until the timer has ended", "COOLING STATION")
setVolume(0)
toggleFlashlight(0.5)
setLowPowerMode(false)
setBrightness(0)
setFocusMode(, "Turned Off")
repeat _ for AskForInput {
wait(1)
lockScreen()
}
setBrightness(0.23333333432674408)
alert("Cooling device operation is over! You may open your device..", "COOLING STATION")
setFocusMode()
setVolume(0.036363635212183)
toggleFlashlight(0.5)
setLowPowerMode(0)
returnToHomescreen()
menu "Some stuff has been changed.. if you want to change back you may.." {
item "Yes":
confirm("Is your device unlocked?")
confirm("Are you sure?")
rawAction("is.workflow.actions.posters.switch", {
"WFPoster": "Ask"
})
item "no, keep it":
}
output("")
}
}
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 mepfiter
You Might Also Like
Advertisement