Отсканируй на iPhone, чтобы установить
This shortcut prolongs battery life even further. Apple’s standard low battery mode is recommended if you still want to use your phone. To enable by Siri, simply say “Hey Siri, save my battery.” You can also enable it directly from the Shortcuts app. You can only disable the mode from the Shortcuts app as Airplane Mode will be turned on.
Что нового
Версия 1.3
-Fixed minor problem with Siri
Что делает
Действий: 23-
Choose from MenuWould you like to turn Save my Battery mode on or off? Choosing on will dim screen extremely dark.
-
Choose from MenuOn
-
Toggle White Pointcom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
Set Brightness
-
Set Volume
-
Set Airplane Mode
-
Set Bluetooth
-
Set Focus
-
Toggle Reduce Motioncom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
Set Low Power Mode
-
Toggle Reduce Transparencycom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
Choose from MenuOff
-
Set Brightness
-
Set Volume
-
Toggle White Pointcom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
Set Airplane Mode
-
Set Cellular Data
-
Set Wi-Fi
-
Set Bluetooth
-
Toggle Reduce Transparencycom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
Toggle Reduce Motioncom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
Set Low Power Mode
-
Set Focus
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#define mac false
#include 'actions/device'
#include 'actions/a11y'
#define color red
#define glyph battery
menu "Would you like to turn Save my Battery mode on or off? Choosing on will dim screen extremely dark." {
item "On":
toggleWhitePoint()
setBrightness(0)
setVolume(0)
setAirplaneMode(false)
setBluetooth(0)
setFocusMode()
toggleReduceMotion()
setLowPowerMode(false)
toggleReduceTransparency()
item "Off":
setBrightness(nil)
setVolume(nil)
toggleWhitePoint()
setAirplaneMode(0)
setCellularData(false)
setWifi(false)
setBluetooth(false)
toggleReduceTransparency()
setReduceMotion(0)
setLowPowerMode(0)
toggleFocusMode()
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от thatistay1244
Вам также может понравиться
Реклама