ShareShortcuts
Bifurcar “ULPM”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que ryhart reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
37K
Guardado
0
Acciones
126
Categoría
API
Versión
1.0
Idioma
EN

Check the time your phone will take to get to 100% Make your phone charge rapidly fast, Save battery levels And more!

Novedades

Versión 1.0

First release

Historial de versiones
1.0 17 de nov. de 2022

First release

Qué hace

126 acciones
  1. Comment
    ULPM is best used as an app/widgets WIDGET - hold the home screen until your apps start to jiggle, press the top left corner and search “shorcuts” and place it on your home screen, while your apps are jiggling, press the shortcuts widget and change …
  2. Dictionary
  3. Set Variable
    TheInfo
  4. Get Device Details
  5. Set Variable
    CurrentBrightness
  6. Get Device Details
  7. Set Variable
    CurrentVolume
  8. Get Battery Level
  9. Choose from Menu
    Battery Life: …%
  10. Choose from Menu
    🔋ULPM
  11. Choose from Menu
    ULPM on or off?
  12. Choose from Menu
    🟢On
  13. Set Low Power Mode
  14. Set Brightness
  15. Set Volume
  16. Set Bluetooth
  17. Set Wi-Fi
  18. Set Airplane Mode
  19. Set Cellular Data
  20. Set Focus
  21. Cellular Rat Set
  22. A X Set Background Sound Volume
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  23. A X Toggle Background Sounds
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  24. Toggle Reduce Transparency
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  25. Toggle Voice Control
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  26. Toggle Switch Control
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  27. Toggle Reduce Motion
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  28. Show Notification
    ULPM Turned On
  29. Choose from Menu
    🔴Off
  30. Set Low Power Mode
  31. Set Brightness
  32. Set Volume
  33. Set Wi-Fi
  34. Set Bluetooth
  35. Set Airplane Mode
  36. Set Cellular Data
  37. Set Focus
  38. Cellular Rat Set
  39. Toggle Reduce Transparency
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  40. Toggle Reduce Motion
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  41. Show Notification
    ULPM Turned Off
  42. Choose from Menu
    🔙Go Back
  43. Run Shortcut
    ULPM
  44. Choose from Menu
    🔋LPM
  45. Choose from Menu
    LPM on or off?
  46. Choose from Menu
    🟢On
  47. Set Low Power Mode
  48. Set Wi-Fi
  49. Set Bluetooth
  50. Set Cellular Data
  51. Cellular Rat Set
  52. Set Brightness
  53. Set Volume
  54. Show Notification
    LPM Turned On
  55. Choose from Menu
    🔴Off
  56. Set Low Power Mode
  57. Set Wi-Fi
  58. Set Bluetooth
  59. Set Cellular Data
  60. Cellular Rat Set
  61. Set Brightness
  62. Set Volume
  63. Show Notification
    LPM Turned Off
  64. Choose from Menu
    🔙Go Back
  65. Run Shortcut
    ULPM
  66. Choose from Menu
    💨Fast Charge
  67. Choose from Menu
    On or Off?
  68. Choose from Menu
    🟢On
  69. Set Airplane Mode
  70. Set Wi-Fi
  71. Set Bluetooth
  72. Set Cellular Data
  73. Cellular Rat Set
  74. Set Brightness
  75. Set Volume
  76. Toggle Reduce Motion
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  77. Toggle Reduce Transparency
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  78. Show Notification
    Iphone now Fast Charging
  79. Choose from Menu
    🔴Off
  80. Set Airplane Mode
  81. Set Wi-Fi
  82. Set Bluetooth
  83. Set Cellular Data
  84. Cellular Rat Set
  85. Set Brightness
  86. Set Volume
  87. Toggle Reduce Motion
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  88. Toggle Reduce Transparency
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  89. Show Notification
    iPhone no longer Fast Charging
  90. Choose from Menu
    🔙Go Back
  91. Run Shortcut
    ULPM
  92. Choose from Menu
    ❓Charge Time
  93. Get Battery Level
  94. Calculate
  95. Set Variable
    BatteryNeeded
  96. Calculate
  97. Calculate
  98. Round Number
  99. Set Variable
    TimeLeft
  100. If
  101. Calculate
  102. Set Variable
    Minutes
  103. Show Result
  104. If
  105. If
  106. Calculate
  107. Set Variable
    Minutes
  108. Show Result
  109. If
  110. Show Result
  111. Choose from Menu
    ❓info
  112. Choose from Menu
    Information
  113. Choose from Menu
    ❓About
  114. Show Alert
    What is ULPM?
  115. Run Shortcut
    ULPM
  116. Choose from Menu
    👨Creator
  117. Show Alert
  118. Run Shortcut
    ULPM
  119. Choose from Menu
    ⬆️Share
  120. URL
    https://routinehub.co/shortcut/13219/
  121. Copy to Clipboard
  122. Show Alert
  123. Run Shortcut
    ULPM
  124. Choose from Menu
    🔙Go Back
  125. Run Shortcut
    ULPM
  126. Choose from Menu
    ❌Cancel

Ver como código
Beta

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/device'
#define color yellow
#define glyph battery

/*
ULPM is best used as an app/widgets

WIDGET - hold the home screen until your apps start to jiggle, press the top left corner and search “shorcuts” and place it on your home screen, while your apps are jiggling, press the shortcuts widget and change the shortcut to “ULPM”

APP - long press on the ULPM shortcut and press “details” then “add to home screen” then follow the prompts
*/
@TheInfo = {
	"Creator": "@ryhart07",
	"Published": "22/10/22",
	"Version": "1.5"
}
getDeviceDetail("Current Brightness")
@CurrentBrightness
getDeviceDetail("Current Volume")
@CurrentVolume
getBatteryLevel()

menu "Battery Life: {}%" {
item "🔋ULPM":
	menu "ULPM on or off?" {
	item "🟢On":
		setLowPowerMode(false)
		setBrightness(0)
		setVolume(0)
		setBluetooth(0)
		setWifi(0)
		setAirplaneMode(1)
		setCellularData(0)
		setFocusMode(, "Turned Off")
		rawAction("is.workflow.actions.cellular.rat.set", {
			"ratMode": "4G",
			"sim": "Primary"
		})
		rawAction("com.apple.AccessibilityUtilities.AXSettingsShortcuts.AXSetBackgroundSoundVolumeIntent", {
			"volumeValue": 0
		})
		rawAction("com.apple.AccessibilityUtilities.AXSettingsShortcuts.AXToggleBackgroundSoundsIntent", {
			"state": 0
		})
		toggleReduceTransparency()
		setVoiceControl(0)
		setSwitchControl(0)
		toggleReduceMotion()
		showNotification("ULPM Turned On")
	item "🔴Off":
		setLowPowerMode(0)
		setBrightness(0.40288705)
		setVolume(0.2007874)
		setWifi(false)
		setBluetooth(false)
		setAirplaneMode(0)
		setCellularData(false)
		toggleDND()
		rawAction("is.workflow.actions.cellular.rat.set", {
			"ratMode": "5G",
			"sim": "Primary"
		})
		toggleReduceTransparency()
		setReduceMotion(0)
		showNotification("ULPM Turned Off")
	item "🔙Go Back":
		runSelf()
	}
item "🔋LPM":
	menu "LPM on or off?" {
	item "🟢On":
		setLowPowerMode(false)
		setWifi(0)
		setBluetooth(0)
		setCellularData(0)
		rawAction("is.workflow.actions.cellular.rat.set", {
			"ratMode": "4G",
			"sim": "Primary"
		})
		setBrightness(0.1496063)
		setVolume(0)
		showNotification("LPM Turned On")
	item "🔴Off":
		setLowPowerMode(0)
		setWifi(false)
		setBluetooth(false)
		setCellularData(false)
		rawAction("is.workflow.actions.cellular.rat.set", {
			"ratMode": "5G",
			"sim": "Primary"
		})
		setBrightness(0.60498685)
		setVolume(0.20147806)
		showNotification("LPM Turned Off", MenuResult)
	item "🔙Go Back":
		runSelf()
	}
item "💨Fast Charge":
	menu "On or Off?" {
	item "🟢On":
		setAirplaneMode(false)
		setWifi(0)
		setBluetooth(0)
		setCellularData(0)
		rawAction("is.workflow.actions.cellular.rat.set", {
			"ratMode": "4G",
			"sim": "Primary"
		})
		setBrightness(0)
		setVolume(0)
		setReduceMotion(false)
		toggleReduceTransparency()
		showNotification("Iphone now Fast Charging ")
	item "🔴Off":
		setAirplaneMode(0)
		setWifi(false)
		setBluetooth(false)
		setCellularData(false)
		rawAction("is.workflow.actions.cellular.rat.set", {
			"ratMode": "5G",
			"sim": "Primary"
		})
		setBrightness(0.69947505)
		setVolume(0.15091856)
		setReduceMotion(0)
		toggleReduceTransparency()
		showNotification("iPhone no longer Fast Charging")
	item "🔙Go Back":
		runSelf()
	}
item "❓Charge Time":
	const BatteryLevel = getBatteryLevel()
	@BatteryNeeded = 100 - BatteryLevel
	const CalculationResult = @BatteryNeeded * 110
	const CalculationResult1 = CalculationResult / 60
	round(CalculationResult1)
	@TimeLeft
	if @TimeLeft > 120 {
		@Minutes = @TimeLeft - 120
		show("Your phone is at {BatteryLevel}%\nIt will take 2 hours and {@Minutes} to charge to 100%")
	}
	if @TimeLeft > 60 {
		if @TimeLeft >= 120 {
			@Minutes = @TimeLeft - 60
			show("Your phone is at {BatteryLevel}%\nIt will take 1 hour and {@Minutes} to charge to 100%")
		}
	} else {
		show("Your phone is at {BatteryLevel}%\n\nIt will take {@TimeLeft} Minutes to charge to 100%")
	}
item "❓info":
	menu "Information" {
	item "❓About":
		alert("\nUltimate Low Power Mode\n\nThere are 2 modes of ULPM:\nULPM (Ultimate Low Power Mode)\nLPM (Low Power Mode)\n\nULPM turns off EVERYTHING, From the brightness and WIFI to background activities to turning off 5G,\n\nLPM Turns off the basics, like WIFI, Bluetooth, etc\n\nShortcut made by @ryhart07 on \nhttps://routinehub.co\n\nVersion 1.5", "What is ULPM?")
		runSelf()
	item "👨Creator":
		confirm("Creator: @ryhart07\n\nPublished: routinehub.co\n\nVersion: 1.5")
		runSelf()
	item "⬆️Share":
		const URL = url("https://routinehub.co/shortcut/13219/")
		setClipboard(URL)
		confirm("Link Copied!")
		runSelf(URL)
	item "🔙Go Back":
		runSelf()
	}
item "❌Cancel":
}
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

También te puede gustar

Ver todo
Publicidad