ShareShortcuts

Theatre Mode

This shortcut helps you avoid the embarrassment at Movie theatres

ekamran
Создать форк «Theatre Mode»

Создали что-то новое на основе этой команды? Поделитесь ей как форком: она станет вашей собственной командой, которой вы управляете, а обе страницы будут ссылаться друг на друга, чтобы ekamran получил(а) признание.

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
79K
Сохранено
3
Действия
37
Категория
Utilities
Версия
1.0
Язык
EN

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.

Что нового

Версия 1.0

First release

История версий
1.0 11 окт 2018 г.

First release

Что делает

Действий: 37
  1. Comment
    Made by @eKamrans
  2. Choose from Menu
    What you want to do with Theatre Mode?
  3. Choose from Menu
    Turn ON
  4. Choose from Menu
    Estimated Run time of Movie?
  5. Choose from Menu
    1 Hour
  6. Number
  7. Choose from Menu
    1h 30m
  8. Number
  9. Choose from Menu
    2 Hours
  10. Number
  11. Choose from Menu
    2h 30m
  12. Number
  13. Date
  14. Adjust Date
  15. Set Focus
  16. Set Airplane Mode
  17. Set Wi-Fi
  18. Set Bluetooth
  19. Set Cellular Data
  20. Set Low Power Mode
  21. Set Volume
  22. Vibrate Device
  23. Show Notification
    Enjoy the Movie!
  24. Wait
  25. Set Brightness
  26. Choose from Menu
    Turn OFF
  27. Set Airplane Mode
  28. Set Wi-Fi
  29. Set Bluetooth
  30. Set Cellular Data
  31. Set Brightness
  32. Set Low Power Mode
  33. Set Volume
  34. Wait
  35. Set Focus
  36. Vibrate Device
  37. Show Notification
    Welcome 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")
}
Открыть в Cherri Playground Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.

Оценки и отзывы

Написать отзыв
–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
11 окт 2018 г.
danielbahl

Well-Crafted @ekamran - Thanks for sharing 😎

Реклама

Ещё от ekamran

См. все

Вам также может понравиться

См. все
Реклама