ShareShortcuts

Quick Controls

Quickly and easily change system settings

techpro
Dupliquer « Quick Controls »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que techpro soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
48K
Enregistré
2
Actions
153
Catégorie
Utilities
Version
1.0
Langue
EN

Quickly and easily change system settings.

Nouveautés

Version 1.0

First release

Historique des versions
1.0 12 août 2021

First release

Ce qu’il fait

153 actions
  1. Get Device Details
  2. If
  3. Text
  4. Choose from Menu
    …
  5. Choose from Menu
    Airplane Mode
  6. Choose from Menu
    Airplane Mode
  7. Choose from Menu
    Off
  8. Set Airplane Mode
  9. Show Notification
    Airplane Mode has successfully been disabled.
  10. Choose from Menu
    On
  11. Set Airplane Mode
  12. Show Notification
    Airplane Mode has successfully been enabled.
  13. Choose from Menu
    Bluetooth
  14. Choose from Menu
    Bluetooth
  15. Choose from Menu
    Off
  16. Set Bluetooth
  17. Show Notification
    Bluetooth has successfully been disabled. Any connected devices will now disconnect.
  18. Choose from Menu
    On
  19. Set Bluetooth
  20. Show Notification
    Bluetooth has successfully been enabled. Go to Bluetooth settings to search for devices.
  21. Choose from Menu
    Wi-Fi
  22. Choose from Menu
    Wi-Fi
  23. Choose from Menu
    Off
  24. Set Wi-Fi
  25. Show Notification
    Wi-Fi has successfully been disabled. Any connected networks will now disconnect.
  26. Choose from Menu
    On
  27. Set Wi-Fi
  28. Show Notification
    Wi-Fi has successfully been enabled.
  29. Choose from Menu
    Do not disturb
  30. Choose from Menu
    Do not disturb
  31. Choose from Menu
    Off
  32. Set Focus
  33. Show Notification
    Do not disturb has successfully been disabled. All calls and notifications will no longer be silenced.
  34. Choose from Menu
    On
  35. Set Focus
  36. Show Notification
    Do not disturb has successfully been enabled. All calls and notifications will be silenced.
  37. Choose from Menu
    Adjust volume
  38. Show Alert
    Adjust volume
  39. Set Volume
  40. Show Notification
    The volume on this device has been adjusted to 50%.
  41. Choose from Menu
    Adjust screen brightness
  42. Show Alert
    Adjust screen brightness
  43. Set Brightness
  44. Show Notification
    Your screen brightness has been adjusted to 50%.
  45. Choose from Menu
    Appearance
  46. Choose from Menu
    Appearance
  47. Choose from Menu
    Light
  48. Set Appearance
  49. Show Notification
    Your device appearance has been set to light.
  50. Choose from Menu
    Dark
  51. Set Appearance
  52. Show Notification
    Your device appearance has been set to dark.
  53. Choose from Menu
    Accessibility
  54. Choose from Menu
    Accessibility
  55. Choose from Menu
    Zoom
  56. Choose from Menu
    Zoom
  57. Choose from Menu
    Off
  58. Toggle Zoom
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  59. Show Notification
    Zoom has successfully been disabled.
  60. Choose from Menu
    On
  61. Toggle Zoom
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  62. Show Notification
    Zoom has successfully been enabled.
  63. Choose from Menu
    AssistiveTouch
  64. Choose from Menu
    Assistive touch
  65. Choose from Menu
    Off
  66. A X Toggle Assistive Touch
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  67. Show Notification
    AssistiveTouch has successfully been disabled.
  68. Choose from Menu
    On
  69. A X Toggle Assistive Touch
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  70. Show Notification
    AssistiveTouch has successfully been enabled.
  71. Choose from Menu
    Voice control
  72. Choose from Menu
    Voice control
  73. Choose from Menu
    Off
  74. Show Alert
    Are you sure you would like to disable voice control?
  75. Toggle Voice Control
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  76. Show Notification
    Voice control has successfully been disabled. You can no longer control your device with your voice.
  77. Choose from Menu
    On
  78. Show Alert
    Are you sure you would like to enable voice control?
  79. Toggle Voice Control
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  80. Show Notification
    Voice control has successfully been enabled. You can now control your device with your voice.
  81. Choose from Menu
    Settings
  82. Show Notification
    Launching settings…
  83. Open App
  84. Choose from Menu
    Cancel
  85. Stop This Shortcut
  86. If
  87. Text
  88. Choose from Menu
    …
  89. Choose from Menu
    Airplane Mode
  90. Choose from Menu
    Airplane Mode
  91. Choose from Menu
    Off
  92. Set Airplane Mode
  93. Show Notification
    Airplane Mode successfully disabled.
  94. Choose from Menu
    On
  95. Set Airplane Mode
  96. Show Notification
    Airplane Mode successfully enabled.
  97. Choose from Menu
    Bluetooth
  98. Choose from Menu
    Bluetooth
  99. Choose from Menu
    Off
  100. Set Bluetooth
  101. Show Notification
    Bluetooth successfully disabled. Any connected devices will now disconnect.
  102. Choose from Menu
    On
  103. Set Bluetooth
  104. Show Notification
    Bluetooth successfully enabled. Go to Bluetooth settings to search for devices.
  105. Choose from Menu
    Wi-Fi
  106. Choose from Menu
    Wi-Fi
  107. Choose from Menu
    Off
  108. Set Wi-Fi
  109. Show Notification
    Wi-Fi successfully disabled. Any connected networks will now disconnect.
  110. Choose from Menu
    On
  111. Set Wi-Fi
  112. Choose from Menu
    Do not disturb
  113. Choose from Menu
    Do not disturb
  114. Choose from Menu
    Off
  115. Set Focus
  116. Show Notification
    Do not disturb successfully disabled. All calls and notifications will no longer be silenced.
  117. Choose from Menu
    On
  118. Set Focus
  119. Show Notification
    Do not disturb successfully enabled. All calls and notifications will be silenced.
  120. Choose from Menu
    Half volume
  121. Set Volume
  122. Show Notification
    Volumes successfully adjusted.
  123. Choose from Menu
    Half screen brightness
  124. Set Brightness
  125. Show Notification
    Brightness successfully adjusted.
  126. Choose from Menu
    Zoom
  127. Choose from Menu
    Zoom
  128. Choose from Menu
    Off
  129. Toggle Zoom
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  130. Show Notification
    Zoom successfully disabled.
  131. Choose from Menu
    On
  132. Toggle Zoom
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  133. Show Notification
    Zoom successfully enabled.
  134. Choose from Menu
    Settings
  135. Show Notification
    Launching settings…
  136. Open App
  137. Choose from Menu
    Cancel
  138. Stop This Shortcut
  139. Get Device Details
  140. If
  141. If
  142. Choose from Menu
    Update from 2.4?
  143. Choose from Menu
    Pre-release
  144. Choose from Menu
    Caution: you are risking system/device instability.
  145. Choose from Menu
    Cancel
  146. Choose from Menu
    Proceed
  147. URL
    https://routinehub.co/shortcut/8170/
  148. Open URLs
  149. Choose from Menu
    Official release
  150. URL
    https://routinehub.co/shortcut/7954/
  151. Open URLs
  152. Choose from Menu
    Not now
  153. Run Shortcut
    Quick Controls

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#include 'actions/settings'
#include 'actions/device'
#define color violet
#define glyph magicWandAlt

const DeviceModel = getDeviceDetail("Device Model")

if DeviceModel !contains "Apple Watch" {
	menu  {
	item "Airplane Mode":
		menu "Airplane Mode" {
		item "Off":
			setAirplaneMode(0)
			showNotification("Airplane Mode has successfully been disabled.\n")
		item "On":
			setAirplaneMode(false)
			showNotification("Airplane Mode has successfully been enabled.\n")
		}
	item "Bluetooth":
		menu "Bluetooth" {
		item "Off":
			setBluetooth(0)
			showNotification("Bluetooth has successfully been disabled.\n Any connected devices will now disconnect.\n")
		item "On":
			setBluetooth(false)
			showNotification("Bluetooth has successfully been enabled.\n Go to Bluetooth settings to search for devices.\n")
		}
	item "Wi-Fi":
		menu "Wi-Fi" {
		item "Off":
			setWifi(0)
			showNotification("Wi-Fi has successfully been disabled.\n Any connected networks will now disconnect.\n")
		item "On":
			setWifi(false)
			showNotification("Wi-Fi has successfully been enabled.\n")
		}
	item "Do not disturb":
		menu "Do not disturb" {
		item "Off":
			toggleFocusMode()
			showNotification("Do not disturb has successfully been disabled. All calls and notifications will no longer be silenced.\n")
		item "On":
			toggleFocusMode()
			showNotification("Do not disturb has successfully been enabled. All calls and notifications will be silenced.\n")
		}
	item "Adjust volume":
		alert("This will adjust volume to 50%.\n", "Adjust volume")
		setVolume(nil)
		showNotification("The volume on this device has been adjusted to 50%.\n", MenuResult)
	item "Adjust screen brightness":
		alert("This will adjust your screen brightness to 50%.\n", "Adjust screen brightness")
		setBrightness(nil)
		showNotification("Your screen brightness has been adjusted to 50%.\n")
	item "Appearance":
		menu "Appearance" {
		item "Light":
			darkMode()
			showNotification("Your device appearance has been set to light.\n")
		item "Dark":
			darkMode()
			showNotification("Your device appearance has been set to dark.\n")
		}
	item "Accessibility":
		menu "Accessibility" {
		item "Zoom":
			menu "Zoom" {
			item "Off":
				setZoom(0)
				showNotification("Zoom has successfully been disabled.\n")
			item "On":
				setZoom(false)
				showNotification("Zoom has successfully been enabled.\n")
			}
		item "AssistiveTouch":
			menu "Assistive touch" {
			item "Off":
				rawAction("com.apple.AccessibilityUtilities.AXSettingsShortcuts.AXToggleAssistiveTouchIntent", {
					"state": 0
				})
				showNotification("AssistiveTouch has successfully been disabled.\n")
			item "On":
				rawAction("com.apple.AccessibilityUtilities.AXSettingsShortcuts.AXToggleAssistiveTouchIntent")
				showNotification("AssistiveTouch has successfully been enabled.\n")
			}
		item "Voice control":
			menu "Voice control" {
			item "Off":
				alert("Disabling this will no longer allow you to control your device with your voice.\n", "Are you sure you would like to disable voice control?")
				toggleVoiceControl()
				showNotification("Voice control has successfully been disabled. You can no longer control your device with your voice.\n")
			item "On":
				alert("Enabling this will allow you to control your device with your voice.\nThis may interfere with voice-over if you have it enabled.\n\n", "Are you sure you would like to enable voice control?")
				toggleVoiceControl()
				showNotification("Voice control has successfully been enabled. You can now control your device with your voice.\n")
			}
		}
	item "Settings":
		showNotification("Launching settings…\n")
		openApp("com.apple.Preferences")
	item "Cancel":
		stop()
	}
} else {
	menu  {
	item "Airplane Mode":
		menu "Airplane Mode" {
		item "Off":
			setAirplaneMode(0)
			showNotification("Airplane Mode successfully disabled.")
		item "On":
			setAirplaneMode(false)
			showNotification("Airplane Mode successfully enabled.")
		}
	item "Bluetooth":
		menu "Bluetooth" {
		item "Off":
			setBluetooth(0)
			showNotification("Bluetooth successfully disabled. Any connected devices will now disconnect.")
		item "On":
			setBluetooth(false)
			showNotification("Bluetooth successfully enabled. Go to Bluetooth settings to search for devices.")
		}
	item "Wi-Fi":
		menu "Wi-Fi" {
		item "Off":
			setWifi(0)
			showNotification("Wi-Fi successfully disabled. Any connected networks will now disconnect.")
		item "On":
			setWifi(false)
		}
	item "Do not disturb":
		menu "Do not disturb" {
		item "Off":
			DNDOff()
			showNotification("Do not disturb successfully disabled. All calls and notifications will no longer be silenced.")
		item "On":
			toggleFocusMode()
			showNotification("Do not disturb successfully enabled. All calls and notifications will be silenced.")
		}
	item "Half volume":
		setVolume(nil)
		showNotification("Volumes successfully adjusted.")
	item "Half screen brightness":
		setBrightness(nil)
		showNotification("Brightness successfully adjusted.")
	item "Zoom":
		menu "Zoom" {
		item "Off":
			setZoom(0)
			showNotification("Zoom successfully disabled.")
		item "On":
			setZoom(false)
			showNotification("Zoom successfully enabled.")
		}
	item "Settings":
		showNotification("Launching settings…")
		openApp("com.apple.Preferences")
	item "Cancel":
		stop()
	}
}
const DeviceModel1 = getDeviceDetail("Device Model")

if DeviceModel1 contains "Apple Watch" {
} else {
	menu "Update from 2.4?" {
	item "Pre-release":
		menu "Caution: you are risking system/device instability." {
		item "Cancel":
		item "Proceed":
			const URL = url("https://routinehub.co/shortcut/8170/")
			openURL(URL)
		}
	item "Official release":
		const URL1 = url("https://routinehub.co/shortcut/7954/")
		openURL(URL1)
	item "Not now":
	}
}
runSelf(IfResult)
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Ça pourrait aussi te plaire

Tout afficher
Publicité