⚠️Warning: NOT MINE
⚡️Helps You Extend Battery
🔋 Fast and quickly
🔳Supports: IPhones,IPad
🔳This is also used in Soft Touch
Novedades
Versión 1.0
First release
Qué hace
109 acciones-
CommentFirst, check if this shortcut was run from an Automation that passed an action word input to it.
-
Text
-
Set VariableAction
-
If
-
Set VariableAction
-
CommentUpdate checking actions. Note that update checks will only run if the device is connected to WiFi and if the shortcut was not run from an Automation.
-
Text
-
Set VariableVersion
-
Get Network Details
-
If
-
Get Contents of URLhttps://shortcuty.app/api/shortcuts/d47dfe35-9e99-40c4-81d7-ac5a24d04d51/version
-
If
-
CommentIf version published on Shortcuty is greater than the version on your local device, start update actions.
-
Choose from MenuAn update for Extend Battery is available! Do you want to open the download/release notes page now? [ … -> … ]
-
Choose from MenuYes
-
CommentOpen Shortcuty page of the new updated shortcut.
-
Open URLs
-
Stop This Shortcut
-
Choose from MenuNo, just run Extend Battery
-
Choose from MenuRemind me in 1 hour and continue
-
Date
-
Adjust Date
-
Add New Reminder
-
Show Alert
-
CommentThis Shortcut includes a feature that lets you choose whether or not to enable a Focus mode each time it is run. Please type the name of your preferred Focus mode to associate with this shortcut. Note that capitalization and spelling must match exac…
-
Text
-
CommentStart of this shortcut’s main actions.
-
Text
-
Text
-
Text
-
If
-
Choose from MenuTurn On or Off?
-
Choose from MenuHands Free Enable
-
Set VariableAction
-
Choose from MenuOn
-
Set VariableAction
-
Choose from MenuOff
-
Set VariableAction
-
If
-
If
-
CommentEnable Extend Battery with an Automation, with one tap, or if the shortcut was run with Siri, with one voice response.
-
Get Network Details
-
If
-
Set Wi-Fi
-
Set AirDrop
-
Set Low Power Mode
-
Set Appearance
-
Set True Tone
-
Set Night Shift
-
Toggle Reduce Transparencycom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
Toggle Reduce Motioncom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
Accessibility Auto Brightness Enabled Entity Updatable Entitycom.apple.AccessibilityUIServer
-
Toggle White Pointcom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
Set Brightness
-
Set Focus
-
If
-
If
-
CommentList of available options to enable/disable.
-
List
-
Choose from List
-
If
-
Set Wi-Fi
-
If
-
Set Bluetooth
-
If
-
Set AirDrop
-
If
-
Set Focus
-
If
-
Set Low Power Mode
-
If
-
Toggle Color Filterscom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
If
-
Set Appearance
-
Set True Tone
-
Set Night Shift
-
Accessibility Auto Brightness Enabled Entity Updatable Entitycom.apple.AccessibilityUIServer
-
Toggle Reduce Transparencycom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
Toggle White Pointcom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
Set Brightness
-
If
-
Toggle Reduce Motioncom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
If
-
Set Cellular Data
-
If
-
If
-
Set Voice Data Modecom.apple.ShortcutsActions
-
If
-
If
-
CommentThese are the actions that return all settings back to normal when Extend Battery is turned off.
-
Set Low Power Mode
-
Set Focus
-
Set Wi-Fi
-
Set Bluetooth
-
Set AirDrop
-
Toggle Color Filterscom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
Set True Tone
-
Toggle Reduce Transparencycom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
Toggle Reduce Motioncom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
Toggle White Pointcom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
Set Brightness
-
Set Cellular Data
-
Set Voice Data Modecom.apple.ShortcutsActions
-
Accessibility Auto Brightness Enabled Entity Updatable Entitycom.apple.AccessibilityUIServer
-
If
-
Show NotificationVariable "Action" has an unrecognized value
-
If
-
Show NotificationVariable "Action" does not have any value
-
Stop This Shortcut
Ver como código
Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.
#define mac false
#include 'actions/web'
#include 'actions/network'
#define color yellow
#define glyph lightningBolt
// First, check if this shortcut was run from an Automation that passed an action word input to it.
@Action = "Null"
if ShortcutInput {
@Action = ShortcutInput
}
// Update checking actions. Note that update checks will only run if the device is connected to WiFi and if the shortcut was not run from an Automation.
@Version = "1.4"
getCellularDetail("")
if && @Action == "Null" {
const ContentsOfURL = downloadURL("https://shortcuty.app/api/shortcuts/d47dfe35-9e99-40c4-81d7-ac5a24d04d51/version")
if ContentsOfURL > @Version {
// If version published on Shortcuty is greater than the version on your local device, start update actions.
menu "An update for Extend Battery is available! Do you want to open the download/release notes page now?\n[ {@Version} -> {ContentsOfURL} ]" {
item "Yes":
// Open Shortcuty page of the new updated shortcut.
openURL("https://browse.shortcuty.app/shortcut/d47dfe35-9e99-40c4-81d7-ac5a24d04d51")
stop()
item "No, just run Extend Battery":
item "Remind me in 1 hour and continue":
currentDate()
adjustDate(, "")
rawAction("is.workflow.actions.addnewreminder", {
"WFAlertCustomTime": "{}",
"WFAlertEnabled": "Alert",
"WFCalendarDescriptor": "Ask",
"WFCalendarItemTitle": "This is your reminder to update Extend Battery. Use the attached link to do so!",
"WFURL": "https://browse.shortcuty.app/shortcut/d47dfe35-9e99-40c4-81d7-ac5a24d04d51"
})
confirm("You will receive a reminder 1 hour from now! The rest of Extend Battery will now continue.")
}
}
}
// This Shortcut includes a feature that lets you choose whether or not to enable a Focus mode each time it is run. Please type the name of your preferred Focus mode to associate with this shortcut. Note that capitalization and spelling must match exactly.
const Text = "Do Not Disturb"
// Start of this shortcut’s main actions.
if @Action == "Null" {
menu "Turn On or Off?" {
item HandsFreeEnable:
@Action = "Off"
item On:
@Action = On
item Off:
@Action = Off
}
}
if @Action {
if @Action == HandsFreeEnable {
// Enable Extend Battery with an Automation, with one tap, or if the shortcut was run with Siri, with one voice response.
const NetworkDetails = getWifiDetail("")
if !NetworkDetails {
setWifi(0)
}
setAirdropReceiving("Off")
setLowPowerMode(false)
darkMode()
setTrueTone(0)
setNightShift(0)
toggleReduceTransparency()
toggleReduceMotion()
rawAction("com.apple.AccessibilityUIServer.AccessibilityAutoBrightnessEnabledEntity-UpdatableEntity", {
"WFTableTemplate": "",
"value": ""
})
toggleWhitePoint()
setBrightness(1)
DNDOff()
} else {
if @Action == On {
// List of available options to enable/disable.
const List = list("Disable WiFi", "Disable Cellular Data\n(Calls and SMS still work)", "Disable Bluetooth", "Disable AirDrop", "Reduce Backlight", "Reduce Motion", "Only Use LTE", "Enable Low Power Mode", "Enable Focus Mode", "Enable Green Color Filter\n(Experimental)")
const SelectedItem = chooseFromList(List, "Choose Your Configuration", true, true)
if SelectedItem contains "Disable WiFi" {
setWifi(0)
}
if SelectedItem contains "Disable Bluetooth" {
setBluetooth(0)
}
if SelectedItem contains "Disable AirDrop" {
setAirdropReceiving("Off")
}
if SelectedItem contains "Enable Focus Mode" {
setFocusMode(, "Turned Off")
}
if SelectedItem contains "Enable Low Power Mode" {
setLowPowerMode(false)
}
if SelectedItem contains "Enable Green Color Filter\n(Experimental)" {
setColorFilters(false)
}
if SelectedItem contains "Reduce Backlight" {
darkMode()
setTrueTone(0)
setNightShift(0)
rawAction("com.apple.AccessibilityUIServer.AccessibilityAutoBrightnessEnabledEntity-UpdatableEntity", {
"WFTableTemplate": "",
"value": ""
})
setReduceTransparency(false)
setWhitePoint(1)
setBrightness(0.75)
}
if SelectedItem contains "Reduce Motion" {
toggleReduceMotion()
}
if SelectedItem contains "Disable Cellular Data\n(Calls and SMS still work)" {
setCellularData(0)
} else {
if SelectedItem contains "Only Use LTE" {
rawAction("com.apple.ShortcutsActions.SetVoiceDataModeAction", {
"AppIntentDescriptor": "",
"ratMode": "",
"sim": ""
})
}
}
} else {
if @Action == Off {
// These are the actions that return all settings back to normal when Extend Battery is turned off.
setLowPowerMode(0)
DNDOn()
setWifi(false)
setBluetooth(false)
setAirdropReceiving("Contacts Only")
setColorFilters(0)
setTrueTone(1)
setReduceTransparency(0)
toggleReduceMotion()
setWhitePoint(0)
setBrightness(0.4212121069431305)
setCellularData(false)
rawAction("com.apple.ShortcutsActions.SetVoiceDataModeAction", {
"AppIntentDescriptor": "",
"ratMode": "",
"sim": ""
})
rawAction("com.apple.AccessibilityUIServer.AccessibilityAutoBrightnessEnabledEntity-UpdatableEntity", {
"WFTableTemplate": "",
"value": ""
})
} else {
showNotification("Variable \"Action\" has an unrecognized value", "Extend Battery Error", @Action)
}
}
}
} else {
showNotification("Variable \"Action\" does not have any value", "Extend Battery Error", @Action)
}
stop()
Abrir en Cherri Playground
Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.
Valoraciones y reseñas
Escribe una reseña–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!
Publicidad
Más de mrgoatfan
También te puede gustar
Publicidad