Отсканируй на iPhone, чтобы установить
Speed Charging Shortcut
A utility shortcut for disable some functionalities with high battery usage
What will be disabled:
- Turn Wifi off
- Turn Mobile Data off
- Turn Bluetooth off
- Enable dark mode
- Reduce motions
- Turn AirPlane mode on
- Set brightness to 10%
Note: can reverse the actions by select Disable from action menu
This shortcut depends in Lemon Updater for updates
Что нового
Версия 1.0
First release
Что делает
Действий: 30-
Dictionary
-
Choose from Menu
-
Choose from MenuEnable
-
Set Wi-Fi
-
Set Cellular Data
-
Set Bluetooth
-
Set Low Power Mode
-
Set Appearance
-
Toggle Reduce Motioncom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
Set Airplane Mode
-
Set Brightness
-
Show AlertRemember
-
Choose from MenuDisable
-
Set Wi-Fi
-
Set Cellular Data
-
Set Bluetooth
-
Set Low Power Mode
-
Set Appearance
-
Toggle Reduce Motioncom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
Set Airplane Mode
-
Set Brightness
-
Show Alert
-
Choose from MenuCheck For Update
-
Get My Shortcuts
-
Match Text
-
If
-
Run ShortcutLemon Updater
-
If
-
Show AlertSpeed Charging
-
Open URLs
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#include 'actions/web'
#include 'actions/shortcuts'
#include 'actions/settings'
#define mac false
#include 'actions/device'
#define color yellow
#define glyph battery
const Dictionary = {
"Name": "Speed Charging",
"RH ID": "12980",
"Version ": "1.0",
"Website": "https://shortcuts.ink"
}
menu nil {
item "Enable":
setWifi(0)
setCellularData(0)
setBluetooth(0)
setLowPowerMode(1)
darkMode()
toggleReduceMotion()
setAirplaneMode(false)
setBrightness(0.10355361)
alert("Speed charging has been enabled 🔋", "Remember ")
item "Disable":
setWifi(false)
setCellularData(Ask: "Enable Mobile Data?")
setBluetooth(false)
setLowPowerMode(0)
darkMode()
toggleReduceMotion()
setAirplaneMode(0)
setBrightness(nil)
confirm("Speed charging has been disabled ⚡️")
item "Check For Update":
getShortcuts()
const Matches = containsText(, "Lemon Updater")
if Matches {
run("Lemon Updater", Dictionary)
} else {
alert("You need to install Lemon Updater Shortcut", "Speed Charging")
openURL("https://routinehub.co/shortcut/11173/")
}
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от shorctutsink
Вам также может понравиться
Реклама