Well-Crafted @ekamran - Thanks for sharing 😎
This shortcut helps you avoid the embarrassment at Movie theatres.
When enabled, it will ask you for an estimate run time of the movie and will enable Do Not Disturb for the exact minutes and disable all the unnecessary functions to stop distractions.
After Turning OFF the Theatre mode, all essential functions get enabled, and you will be notified.
"The only reason I had added the Estimated Runtime for the movie is to make sure that the DO NOT DISTURB is turned off automatically even if you forgot to TURN OFF THEATRE MODE later".
Specifically added Bluetooth OFF to lose the connection between iPhone and Apple Watch to disable notifications.
If anyone requests, then we can also add a WAIT time based on Estimate Movie runtime, but I feel that will be too much on the battery. This will turn Theatre Mode OFF automatically.
Что нового
First release
Что делает
Действий: 37-
CommentMade by @eKamrans
-
Choose from MenuWhat you want to do with Theatre Mode?
-
Choose from MenuTurn ON
-
Choose from MenuEstimated Run time of Movie?
-
Choose from Menu1 Hour
-
Number
-
Choose from Menu1h 30m
-
Number
-
Choose from Menu2 Hours
-
Number
-
Choose from Menu2h 30m
-
Number
-
Date
-
Adjust Date
-
Set Focus
-
Set Airplane Mode
-
Set Wi-Fi
-
Set Bluetooth
-
Set Cellular Data
-
Set Low Power Mode
-
Set Volume
-
Vibrate Device
-
Show NotificationEnjoy the Movie!
-
Wait
-
Set Brightness
-
Choose from MenuTurn OFF
-
Set Airplane Mode
-
Set Wi-Fi
-
Set Bluetooth
-
Set Cellular Data
-
Set Brightness
-
Set Low Power Mode
-
Set Volume
-
Wait
-
Set Focus
-
Vibrate Device
-
Show NotificationWelcome back to Real life!
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#define mac false
#include 'actions/device'
#include 'actions/calendar'
#define color violet
// Made by @eKamrans
menu "What you want to do with Theatre Mode?" {
item "Turn ON":
menu "Estimated Run time of Movie?" {
item "1 Hour":
item "1h 30m":
item "2 Hours":
item "2h 30m":
}
currentDate()
adjustDate("", "")
setFocusMode(, "Time")
setAirplaneMode(false)
setWifi(false)
setBluetooth(false)
setCellularData(false)
setLowPowerMode(false)
setVolume(0)
vibrate()
showNotification("Enjoy the Movie!", "Theatre Mode ON", false)
wait(2)
setBrightness(0)
item "Turn OFF":
setAirplaneMode(false)
setWifi(false)
setBluetooth(false)
setCellularData(false)
setBrightness(0.19629054)
setLowPowerMode(false)
setVolume(0.8092566)
wait(1)
setFocusMode()
vibrate()
showNotification("Welcome back to Real life!", "Theatre Mode OFF")
}