ShareShortcuts

The Controller V2.0

Controls your phone

theshortcutguy2
Fazer fork de “The Controller V2.0”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que theshortcutguy2 receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
39K
Salvo
1
Ações
176
Categoria
Utilities
Versão
1.1
Idioma
EN

Controls your phone

Novidades

Versão 1.1

Complete redesign!!!! Now supports ShUpdater!

Histórico de versões
1.1 29 de ago de 2024

Complete redesign!!!! Now supports ShUpdater!

1.0 17 de set de 2022

First release

O que ele faz

176 ações
  1. Dictionary
  2. Get My Shortcuts
  3. If
  4. Run Shortcut
    ShUpdater Remade
  5. If
  6. Open URLs
  7. Text
  8. Get Device Details
  9. If
  10. Choose from Menu
    Today is …
  11. Choose from Menu
    Toggle Wake on Wrist Raise
  12. N P R F Set Wake On Wrist Raise
    com.apple.NanoSettings
  13. Choose from Menu
    Toggle Theater Mode
  14. N P R F Set Theater Mode
    com.apple.NanoSettings
  15. Choose from Menu
    Toggle Silent Mode
  16. N P R F Set Silent Mode
    com.apple.NanoSettings
  17. Choose from Menu
    Toggle Schooltime
  18. N P R F Set School Time
    com.apple.NanoSettings
  19. Choose from Menu
    Toggle Water Lock
  20. N P R F Set Water Lock
    com.apple.NanoSettings
  21. Choose from Menu
    Toggle Flashlight
  22. N P R F Set Flash Light
    com.apple.NanoSettings
  23. Choose from Menu
    Set Always On
  24. N P R F Set Always On
    com.apple.NanoSettings
  25. Choose from Menu
    Set Watch Face
  26. C O S Set Gizmo Face
    com.apple.PBBridgeSupport.BridgeIntents
  27. Choose from Menu
    Ping Phone
  28. N P R F Ping My Phone
    com.apple.NanoSettings
  29. If
  30. Choose from Menu
    Hey there!
  31. Choose from Menu
    System
  32. Choose from Menu
  33. Choose from Menu
    Set Wi-Fi
  34. Set Wi-Fi
  35. Choose from Menu
    Get Cellular/Wi-Fi Information
  36. Choose from Menu
    Which one?
  37. Choose from Menu
    Wi-Fi/Cellular Info
  38. Get Network Details
  39. Show Alert
  40. Choose from Menu
    IP Address
  41. Get IP Address
  42. Choose from Menu
    Toggle Bluetooth
  43. Set Bluetooth
  44. Choose from Menu
    Toggle Airplane Mode
  45. Set Airplane Mode
  46. Choose from Menu
    Toggle Flashlight
  47. Set Flashlight
  48. Choose from Menu
    Toggle Appearance
  49. Set Appearance
  50. Choose from Menu
    Toggle LPM (Low Power Mode)
  51. Set Low Power Mode
  52. Choose from Menu
    Battery Level
  53. Get Battery Level
  54. Show Alert
  55. Choose from Menu
    Calculate Something
  56. Text
  57. Dictionary
  58. Set Variable
    ValueSet
  59. If
  60. Replace Text
  61. If
  62. Show Alert
  63. Show Web Page
  64. If
  65. Choose from Menu
    Open App
  66. Open App
  67. Choose from Menu
    Open Shortcut
  68. Run Shortcut
  69. Choose from Menu
    Exit
  70. Stop This Shortcut
  71. Choose from Menu
    Online
  72. Get Network Details
  73. Text
  74. If
  75. Choose from Menu
    Online Menu
  76. Choose from Menu
    Open URL
  77. Choose from Menu
    Which Browser?
  78. Choose from Menu
    Edge
  79. Open In Chrome
    com.google.chrome.ios
  80. Choose from Menu
    Safari
  81. Open URLs
  82. Choose from Menu
    Open Google
  83. Choose from Menu
    Which Browser?
  84. Choose from Menu
    Chrome
  85. Open In Chrome
    com.google.chrome.ios
  86. Choose from Menu
    Safari
  87. Open URLs
  88. Choose from Menu
    Search the Web
  89. Choose from Menu
    Which Browser?
  90. Choose from Menu
    Chrome
  91. Search In Chrome
    com.google.chrome.ios
  92. Choose from Menu
    Safari
  93. Search Web
  94. Choose from Menu
    Bored Button
  95. Open URLs
  96. Choose from Menu
    Exit
  97. If
  98. Show Alert
  99. Choose from Menu
    Offline Online Menu
  100. Choose from Menu
    Edge Surf Game (only works if you have Chrome)
  101. Open In Chrome
    com.google.chrome.ios
  102. Choose from Menu
    Tic Tac Toe
  103. Get My Shortcuts
  104. If
  105. Run Shortcut
    Tic Tac Toe
  106. If
  107. Open URLs
  108. Choose from Menu
    Rock Paper Scissors
  109. Get My Shortcuts
  110. If
  111. Run Shortcut
    The Controller | Rock Paper Scissors
  112. If
  113. Open URLs
  114. Choose from Menu
  115. Ask for Input
    Enter Password (Password:⬛️⬛️⬛️⬛️⬛️⬛️)
  116. If
  117. Show Alert
  118. Choose from Menu
    EEEEEEEEEEEEEEEE
  119. Choose from Menu
    Email Me
  120. Send Email
  121. Choose from Menu
    Suggest Features
  122. Send Email
  123. Choose from Menu
    Be Amazed
  124. Text
  125. Show Alert
  126. Translate Text
  127. Show Alert
  128. Text
  129. Translate Text
  130. Show Alert
  131. Text
  132. Translate Text
  133. Show Alert
  134. Text
  135. Translate Text
  136. Show Alert
  137. Choose from Menu
    Surprise
  138. Get My Shortcuts
  139. If
  140. Run Shortcut
    Guess What This Is
  141. If
  142. Open URLs
  143. If
  144. Vibrate Device
  145. Show Alert
  146. Choose from Menu
    Other
  147. Show Alert
  148. Choose from Menu
    ShortStore
  149. Choose from Menu
    Welcome to the ShortStore!
  150. Choose from Menu
    Totally Not A… Suite
  151. Choose from Menu
    A collection of all Totally Not A… Shortcuts!
  152. Choose from Menu
    Download
  153. Open URLs
  154. Choose from Menu
    Cancel
  155. Run Shortcut
    The Controller V2.0
  156. Choose from Menu
    Totally Not A Virus
  157. Choose from Menu
    A short game/story.
  158. Choose from Menu
    Download
  159. Open URLs
  160. Choose from Menu
    Cancel
  161. Run Shortcut
    The Controller V2.0
  162. Choose from Menu
    Battery Saver
  163. Choose from Menu
    A simple battery saver.
  164. Choose from Menu
    Download
  165. Open URLs
  166. Choose from Menu
    Cancel
  167. Run Shortcut
    The Controller V2.0
  168. Choose from Menu
    RoutineChat
  169. Choose from Menu
    RoutineHub’s unofficial chatting app!
  170. Choose from Menu
    Download
  171. Open URLs
  172. Choose from Menu
    Cancel
  173. Run Shortcut
    The Controller V2.0
  174. Choose from Menu
    Exit
  175. Stop This Shortcut
  176. Run Shortcut
    The Controller 2.0

Ver como código
Beta

Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.

#define mac false
#include 'actions/web'
#include 'actions/shortcuts'
#define color darkblue
#define glyph sliders

const Dictionary = {
	"ID": "10752",
	"Name": "The Controller",
	"Version": "3"
}
const MyShortcuts = getShortcuts()

if MyShortcuts['Name'] contains "ShUpdater Remade" {
	run("ShUpdater Remade", Dictionary)
} else {
	openURL("https://routinehub.co/shortcut/12588/")
}
const DeviceIsWatch = getDeviceDetail("Device Is Watch")

if DeviceIsWatch ==  {
	menu "Today is {CurrentDate}" {
	item "Toggle Wake on Wrist Raise":
		rawAction("com.apple.NanoSettings.NPRFSetWakeOnWristRaiseIntent", {
			"operation": "toggle"
		})
	item "Toggle Theater Mode":
		rawAction("com.apple.NanoSettings.NPRFSetTheaterModeIntent", {
			"operation": "toggle"
		})
	item "Toggle Silent Mode":
		rawAction("com.apple.NanoSettings.NPRFSetSilentModeIntent", {
			"operation": "toggle"
		})
	item "Toggle Schooltime":
		rawAction("com.apple.NanoSettings.NPRFSetSchoolTimeIntent", {
			"operation": "toggle"
		})
	item "Toggle Water Lock":
		rawAction("com.apple.NanoSettings.NPRFSetWaterLockIntent", {
			"operation": "Ask"
		})
	item "Toggle Flashlight ":
		rawAction("com.apple.NanoSettings.NPRFSetFlashLightIntent", {
			"operation": "toggle"
		})
	item "Set Always On":
		rawAction("com.apple.NanoSettings.NPRFSetAlwaysOnIntent", {
			"operation": "Ask"
		})
	item "Set Watch Face":
		rawAction("com.apple.PBBridgeSupport.BridgeIntents.COSSetGizmoFaceIntent", {
			"face": "Ask"
		})
	item "Ping Phone":
		rawAction("com.apple.NanoSettings.NPRFPingMyPhoneIntent", {
			"state": "on"
		})
	}
} else {
	menu "Hey there!" {
	item "System":
		menu nil {
		item "Set Wi-Fi ":
			setWifi(Ask)
		item "Get Cellular/Wi-Fi Information":
			menu "Which one?" {
			item "Wi-Fi/Cellular Info":
				getCellularDetail("")
				confirm()
			item "IP Address":
				getExternalIP()
			}
		item "Toggle Bluetooth ":
			setBluetooth(false)
		item "Toggle Airplane Mode":
			setAirplaneMode(false)
		item "Toggle Flashlight ":
			toggleFlashlight(0.5)
		item "Toggle Appearance ":
			darkMode()
		item "Toggle LPM (Low Power Mode)":
			setLowPowerMode(false)
		item "Battery Level":
			getBatteryLevel()
			confirm("The Battery Level is {}.")
		item "Calculate Something ":
			@ValueSet = {
				"Set": "{}"
			}
			if @ValueSet == "No" {
				const UpdatedText = replaceText("No", "Yes", false)
			}
			if UpdatedText == "Yes" {
				confirm("After opening the below link follow the instructions to get an amazing calculator for your iPad.")
				showWebpage("https://lake-e.github.io/iPad-Calculator/index.html")
			} else {
			}
		item "Open App":
			openApp()
		item "Open Shortcut":
			run(Ask, DeviceIsWatch)
		item "Exit":
			stop()
		}
	item "Online":
		getCellularDetail("")
		const Text = "{}"
		if Text {
			menu "Online Menu" {
			item "Open URL":
				menu "Which Browser?" {
				item "Edge":
					rawAction("com.google.chrome.ios.OpenInChromeIntent", {
						"url": "{Ask}"
					})
				item "Safari":
					openURL(Ask)
				}
			item "Open Google":
				menu "Which Browser?" {
				item "Chrome":
					rawAction("com.google.chrome.ios.OpenInChromeIntent", {
						"url": "{Ask}"
					})
				item "Safari":
					openURL(Ask)
				}
			item "Search the Web":
				menu "Which Browser?" {
				item "Chrome":
					rawAction("com.google.chrome.ios.SearchInChromeIntent", {
						"searchPhrase": "{Ask}"
					})
				item "Safari":
					searchWeb("", Ask)
				}
			item "Bored Button":
				openURL("boredbutton.com")
			item "Exit":
			}
		} else {
			confirm("You don't seem to have a connection. If you would like to access the Online Menu, please connect to Wi-Fi.")
			menu "Offline Online Menu" {
			item "Edge Surf Game (only works if you have Chrome) ":
				rawAction("com.google.chrome.ios.OpenInChromeIntent", {
					"url": "google.com"
				})
			item "Tic Tac Toe":
				const MyShortcuts1 = getShortcuts()
				if MyShortcuts1['Name'] contains "Tic Tac Toe" {
					run()
				} else {
					openURL("https://routinehub.co/shortcut/4680/")
				}
			item "Rock Paper Scissors ":
				const MyShortcuts2 = getShortcuts()
				if MyShortcuts2['Name'] contains "The Controller | Rock Paper Scissors" {
					run()
				} else {
					openURL("https://www.icloud.com/shortcuts/c946226afb3b4795bbcb1b5f1acbd760")
				}
			item "":
				const ProvidedInput = prompt("Enter Password (Password:⬛️⬛️⬛️⬛️⬛️⬛️)", "Number")
				if ProvidedInput == 4321 {
					confirm("Secret Menu Unlocked!")
					menu "EEEEEEEEEEEEEEEE" {
					item "Email Me":
						sendEmail(, "", "Email Me", Ask)
					item "Suggest Features":
						sendEmail(, "", "Feature Suggest", Ask)
					item "Be Amazed":
						confirm()
						translate(, "es_ES", "en_US")
						confirm()
						translate(, "en_US", "Detect Language")
						confirm()
						translate(, "es_ES", "Detect Language")
						confirm()
						translate(, "en_US", "Detect Language")
						confirm()
					item "Surprise":
						const MyShortcuts3 = getShortcuts()
						if MyShortcuts3['Name'] contains "Guess What This Is" {
							run("Guess What This Is", MyShortcuts3)
						} else {
							openURL("https://www.icloud.com/shortcuts/d0102075b98b4667a97913f148d610af")
						}
					}
				} else {
					vibrate()
					confirm("Incorrect!")
				}
			}
		}
	item "Other":
		confirm("IDK what to add here. Comment in RoutineHub what to add.")
	item "ShortStore":
		menu "Welcome to the ShortStore!" {
		item "Totally Not A… Suite":
			menu "A collection of all Totally Not A… Shortcuts!" {
			item "Download":
				openURL("https://routinehub.co/shortcut/18546/")
			item "Cancel":
				runSelf(DeviceIsWatch)
			}
		item "Totally Not A Virus":
			menu "A short game/story." {
			item "Download":
				openURL("https://routinehub.co/shortcut/11371/")
			item "Cancel":
				runSelf(DeviceIsWatch)
			}
		item "Battery Saver":
			menu "A simple battery saver." {
			item "Download":
				openURL("https://routinehub.co/shortcut/11383/")
			item "Cancel":
				runSelf(DeviceIsWatch)
			}
		item "RoutineChat":
			menu "RoutineHub’s unofficial chatting app!" {
			item "Download":
				openURL("https://routinehub.co/shortcut/11819/")
			item "Cancel":
				runSelf(DeviceIsWatch)
			}
		}
	item "Exit":
		stop()
	}
}
runSelf(IfResult)
Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Mais de theshortcutguy2

Ver tudo

Você também pode gostar

Ver tudo
Publicidade