ShareShortcuts

Launch @Menu

Im not the best at describing but its a menu that will have alot of features soon

rylens
Fazer fork de “Launch @Menu”

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 rylens 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
54K
Salvo
1
Ações
199
Categoria
Utilities
Versão
1.7
Idioma
EN

Im not the best at describing but its a menu that will have alot of features soon. Addons: @Themes download: https://routinehub.co/shortcut/7794

Novidades

Versão 1.7

BETA VERSION- Fixed bug in version 1.6

Histórico de versões
1.7 21 de dez de 2020

BETA VERSION - Fixed the back button. - Organized code blocks.

1.7 21 de dez de 2020

BETA VERSION- Fixed bug in version 1.6

1.6 18 de dez de 2020

BETA VERSION - New version number on all posted websites. - Added welcome message and setup message. - Added update options. - Added 'update-site' option which will let you get available updates from the selected site. (Set in update options) - Fixed minor bugs.

1.5 18 de dez de 2020

o

1.4 18 de dez de 2020

yest

1.3 18 de dez de 2020

Testing

1.2 18 de dez de 2020

ok

1.1 18 de dez de 2020

Testing auto update check

1.0 17 de dez de 2020

First release

O que ele faz

199 ações
  1. Dictionary
  2. Comment
    @Menu Created by: @Rylens BETA
  3. Get Contents of URL
    https://ibb.co/bmW6pfR
  4. Base64 Encode
  5. If
  6. Get File
  7. If
  8. Create Folder
  9. Create Folder
  10. Text
  11. Save File
  12. Text
  13. Show Alert
    New
  14. Text
  15. Show Alert
    New
  16. Base64 Encode
  17. Text
  18. Set Name
  19. Choose from List
  20. If
  21. Text
  22. Save File
  23. Append to Text File
  24. Text
  25. Show Alert
    New
  26. Run Shortcut
    Launch @Menu
  27. Get Contents of URL
    https://ibb.co/thrGT3X
  28. Base64 Encode
  29. Get Contents of URL
    https://ibb.co/FD2DCTv
  30. Base64 Encode
  31. Get Contents of URL
    https://ibb.co/dQ4MQLY
  32. Base64 Encode
  33. Get Contents of URL
    https://ibb.co/HtJ42JT
  34. Base64 Encode
  35. Text
  36. Set Name
  37. Choose from List
  38. If
  39. Get Battery Level
  40. Text
  41. Set Variable
    @!battery
  42. If
  43. Get Contents of URL
    https://ibb.co/3MVNkfX
  44. Set Variable
    @!battery
  45. If
  46. If
  47. If
  48. Get Contents of URL
    https://ibb.co/CzhqnPF
  49. Set Variable
    @!battery
  50. If
  51. Get Contents of URL
    https://ibb.co/87X8FCL
  52. Set Variable
    @!battery
  53. If
  54. Get Contents of URL
    https://ibb.co/cc5048z
  55. Set Variable
    @!battery
  56. Base64 Encode
  57. Get Contents of URL
    https://ibb.co/nrLgRW3
  58. Base64 Encode
  59. Text
  60. Set Name
  61. Choose from List
  62. If
  63. Get File
  64. Text
  65. If
  66. If
  67. Save File
  68. Append to Text File
  69. Set Low Power Mode
  70. Set Cellular Data
  71. Set Bluetooth
  72. Set Brightness
  73. Text
  74. Show Alert
  75. If
  76. Save File
  77. Append to Text File
  78. Set Low Power Mode
  79. Set Cellular Data
  80. Set Brightness
  81. Text
  82. Show Alert
  83. If
  84. Save File
  85. Append to Text File
  86. Set Low Power Mode
  87. Set Cellular Data
  88. Set Bluetooth
  89. Set Brightness
  90. Text
  91. Show Alert
  92. Run Shortcut
    Launch @Menu
  93. If
  94. Run Shortcut
    DecC
  95. If
  96. Text
  97. Run Shortcut
    @Menu
  98. If
  99. Get Contents of URL
    https://ibb.co/P6xv68r
  100. Base64 Encode
  101. Get Contents of URL
    https://ibb.co/RC93y42
  102. Base64 Encode
  103. Text
  104. Set Name
  105. Choose from List
  106. If
  107. Get Contents of URL
    https://ibb.co/P6xv68r
  108. Base64 Encode
  109. Get Contents of URL
    https://ibb.co/2yrwzR2
  110. Base64 Encode
  111. Text
  112. Set Name
  113. Choose from List
  114. If
  115. Get IP Address
  116. If
  117. Get File
  118. If
  119. Get Contents of URL
    https://routinehub.co/shortcut/7785/
  120. If
  121. Text
  122. Show Alert
    No update found
  123. Text
  124. Run Shortcut
    @Menu
  125. If
  126. Text
  127. Show Alert
    Update found
  128. Open URLs
  129. If
  130. Get Contents of URL
    https://shareshortcuts.com/shortcuts/1170-launch-menu.html
  131. If
  132. Text
  133. Show Alert
    No update found
  134. Text
  135. Run Shortcut
    Launch @Menu
  136. If
  137. Text
  138. Show Alert
    Update found
  139. Open URLs
  140. If
  141. Get Contents of URL
    https://ibb.co/FXx6nLk
  142. Base64 Encode
  143. Text
  144. Set Name
  145. Choose from List
  146. If
  147. Text
  148. Run Shortcut
    Launch @Menu
  149. If
  150. Get Contents of URL
    https://ibb.co/h246Njn
  151. Base64 Encode
  152. Text
  153. Set Name
  154. Choose from List
  155. If
  156. Text
  157. Save File
  158. Append to Text File
  159. Text
  160. Show Alert
  161. Text
  162. Run Shortcut
    Launch @Menu
  163. If
  164. Text
  165. Run Shortcut
    Launch @Menu
  166. If
  167. Text
  168. Get My Shortcuts
  169. Repeat with Each
  170. If
  171. Text
  172. Replace Text
  173. Get File
  174. If
  175. Text
  176. Combine Text
  177. Get Contents of URL
    https://ibb.co/DwYhr5P
  178. Base64 Encode
  179. Text
  180. Set Variable
    @!addons
  181. If
  182. If
  183. Text
  184. Add to Variable
  185. If
  186. Text
  187. Add to Variable
  188. Text
  189. Add to Variable
  190. Text
  191. Set Name
  192. Choose from List
  193. If
  194. Run Shortcut
    Launch @Themes
  195. If
  196. Text
  197. Run Shortcut
    Launch @Menu
  198. If
  199. Run Shortcut
    DecMenu

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'
#define color darkgray
#define glyph rocket

/*
@Menu
Created by: @Rylens

BETA
*/
const ContentsOfURL = downloadURL("https://ibb.co/bmW6pfR")
base64Encode(ContentsOfURL)

if !ShortcutInput {
	const File = getFile("@!Launch/@Menu/check.txt", false)
	if !File {
		createFolder("@!Launch/")
		createFolder("@!Launch/@Menu/")
		const Text = "check"
		saveFile("@!Launch/@Menu/", Text, true)
		alert(, "New")
		alert(, "New")
		base64Encode(ContentsOfURL)
		const Text1 = "BEGIN:VCARD\nN:RoutineHub.co\nORG:Press to get available updates from this site.\nPHOTO;ENCODING=b:{}\nEND:VCARD\nBEGIN:VCARD\nN:ShareShortcuts.com\nORG:Press to get available updates from this site.\nPHOTO;ENCODING=b:{}\nEND:VCARD\nBEGIN:VCARD\nN:ShortcutsGallery.com [Not posted]\nORG:Press to get available updates from this site.\nPHOTO;ENCODING=b:{}\nEND:VCARD"
		const RenamedItem = setName(Text1, "@!update-site.vcf")
		const ChosenItem = chooseFromList(RenamedItem, "New")
		if ChosenItem['Name'] {
			const Text2 = "update-site"
			saveFile("@!Launch/@Menu/", Text2, true)
			appendToFile("/@!Launch/@Menu/update-site.txt", ChosenItem['Name'])
			alert(, "New")
			runSelf()
		}
	}
	const ContentsOfURL1 = downloadURL("https://ibb.co/thrGT3X")
	base64Encode(ContentsOfURL1)
	const ContentsOfURL2 = downloadURL("https://ibb.co/FD2DCTv")
	base64Encode(ContentsOfURL2)
	const ContentsOfURL3 = downloadURL("https://ibb.co/dQ4MQLY")
	base64Encode(ContentsOfURL3)
	const ContentsOfURL4 = downloadURL("https://ibb.co/HtJ42JT")
	base64Encode(ContentsOfURL4)
	const Text3 = "BEGIN:VCARD\nN:Battery\nPHOTO;ENCODING=b:{}\nEND:VCARD\nBEGIN:VCARD\nN:Settings\nPHOTO;ENCODING=b:{}\nEND:VCARD\nBEGIN:VCARD\nN:Exit\nPHOTO;ENCODING=b:{}\nEND:VCARD"
	const RenamedItem1 = setName(Text3, "@menu.vcf")
	const ChosenItem1 = chooseFromList(RenamedItem1, "")
	if ChosenItem1['Name'] == "Battery" {
		const BatteryLevel = getBatteryLevel()
		@battery = "nil"
		if BatteryLevel >= 90 {
			downloadURL("https://ibb.co/3MVNkfX")
			@battery
		} else {
			if BatteryLevel < 90 {
				if BatteryLevel <= 30 {
					downloadURL("https://ibb.co/CzhqnPF")
					@battery
				} else {
					downloadURL("https://ibb.co/87X8FCL")
					@battery
				}
			} else {
				downloadURL("https://ibb.co/cc5048z")
				@battery
			}
		}
		base64Encode(@battery)
		const ContentsOfURL5 = downloadURL("https://ibb.co/nrLgRW3")
		base64Encode(ContentsOfURL5)
		const Text4 = "BEGIN:VCARD\nN:{BatteryLevel}%\nORG:Press to go back.\nPHOTO;ENCODING=b:{}\nEND:VCARD\nBEGIN:VCARD\nN:Battery saving mode\nORG:Press to toggle battery saving.\nPHOTO;ENCODING=b:{}\nEND:VCARD"
		const RenamedItem2 = setName(Text4, "@!battery.vcf")
		const ChosenItem2 = chooseFromList(RenamedItem2, "Battery level")
		if ChosenItem2['Name'] == "Battery saving mode" {
			const File1 = getFile("@!Launch/@Menu/battery.txt", false)
			const Text5 = "battery"
			if File1 {
				if File1 contains "False" {
					saveFile("@!Launch/@Menu/", Text5, true)
					appendToFile("/@!Launch/@Menu/battery.txt", ";;True")
					setLowPowerMode(false)
					setCellularData(0)
					setBluetooth(0)
					setBrightness(0.35321101546287537)
					confirm()
				}
				if File1 contains "True" {
					saveFile("@!Launch/@Menu/", Text5, true)
					appendToFile("/@!Launch/@Menu/battery.txt", ";;False")
					setLowPowerMode(0)
					setCellularData(1)
					setBrightness(0.75)
					confirm()
				}
			} else {
				saveFile("@!Launch/@Menu/", Text5, true)
				appendToFile("/@!Launch/@Menu/battery.txt", ";;True")
				setLowPowerMode(false)
				setCellularData(0)
				setBluetooth(0)
				setBrightness(0.35321101546287537)
				confirm()
			}
			runSelf()
		}
		if ChosenItem2['Name'] contains "%" {
			runSelf()
		}
	}
	if ChosenItem1['Name'] == "Settings" {
		const Text6 = "#//:settings"
		runSelf(Text6)
	}
}

if ShortcutInput == "#//:settings" {
	const ContentsOfURL6 = downloadURL("https://ibb.co/P6xv68r")
	base64Encode(ContentsOfURL6)
	const ContentsOfURL7 = downloadURL("https://ibb.co/RC93y42")
	base64Encode(ContentsOfURL7)
	const Text7 = "BEGIN:VCARD\nN:Update options\nORG:Press to see update options.\nPHOTO;ENCODING=b:{}\nEND:VCARD\nBEGIN:VCARD\nN:Check addons\nORG:Press to list all addons.\nPHOTO;ENCODING=b:{}\nEND:VCARD\nBEGIN:VCARD\nN:Back\nPHOTO;ENCODING=b:{}\nEND:VCARD"
	const RenamedItem3 = setName(Text7, "@menu.vcf")
	const ChosenItem3 = chooseFromList(RenamedItem3, "Settings")
	if ChosenItem3['Name'] == "Update options" {
		const ContentsOfURL8 = downloadURL("https://ibb.co/P6xv68r")
		base64Encode(ContentsOfURL8)
		const ContentsOfURL9 = downloadURL("https://ibb.co/2yrwzR2")
		base64Encode(ContentsOfURL9)
		const Text8 = "BEGIN:VCARD\nN:Check for updates\nORG:Press to check for available updates.\nPHOTO;ENCODING=b:{}\nEND:VCARD\nBEGIN:VCARD\nN:Change update-site\nORG:Press to change the update website.\nPHOTO;ENCODING=b:{}\nEND:VCARD\nBEGIN:VCARD\nN:Back\nPHOTO;ENCODING=b:{}\nEND:VCARD"
		const RenamedItem4 = setName(Text8, "@!updates.vcf")
		const ChosenItem4 = chooseFromList(RenamedItem4)
		if ChosenItem4['Name'] == "Check for updates" {
			const CurrentIPAddress = getExternalIP()
			if CurrentIPAddress contains "." {
				const File2 = getFile("@!Launch/@Menu/update-site.txt", true)
				if File2 contains "RoutineHub.co" {
					const ContentsOfURL10 = downloadURL("https://routinehub.co/shortcut/7785/")
					if ContentsOfURL10 contains "Version: {['$Version']}" {
						alert(, "No update found")
						const Text9 = "#//:settings"
						runSelf(Text9)
					} else {
						alert(, "Update found")
						openURL("https://routinehub.co/download/23846/")
					}
				}
				if File2 contains "ShareShortcuts.com" {
					const ContentsOfURL11 = downloadURL("https://shareshortcuts.com/shortcuts/1170-launch-menu.html")
					if ContentsOfURL11 contains "Version {['$Version']} •" {
						alert(, "No update found")
						const Text10 = "#//:settings"
						runSelf(Text10)
					} else {
						alert(, "Update found")
						openURL("https://shareshortcuts.com/download/1170-launch-menu.html")
					}
				}
			} else {
				const ContentsOfURL12 = downloadURL("https://ibb.co/FXx6nLk")
				base64Encode(ContentsOfURL12)
				const Text11 = "BEGIN:VCARD\nN:Wifi not connected\nORG:Wifi is needed to continue.\nPHOTO;ENCODING=b:{}\nEND:VCARD"
				const RenamedItem5 = setName(Text11, "@!updates.vcf")
				const ChosenItem5 = chooseFromList(RenamedItem5, "")
				if ChosenItem5['Name'] {
					const Text12 = "#//:settings"
					runSelf(Text12)
				}
			}
		}
		if ChosenItem4['Name'] == "Change update-site" {
			const ContentsOfURL13 = downloadURL("https://ibb.co/h246Njn")
			base64Encode(ContentsOfURL13)
			const Text13 = "BEGIN:VCARD\nN:RoutineHub.co\nPHOTO;ENCODING=b:{}\nEND:VCARD\nBEGIN:VCARD\nN:ShareShortcuts.com\nPHOTO;ENCODING=b:{}\nEND:VCARD\nBEGIN:VCARD\nN:Back\nPHOTO;ENCODING=b:{}\nEND:VCARD"
			const RenamedItem6 = setName(Text13, "@!update-site.vcf")
			const ChosenItem6 = chooseFromList(RenamedItem6)
			if ChosenItem6['Name'] != "Back" {
				const Text14 = "update-site"
				saveFile("@!Launch/@Menu/", Text14, true)
				appendToFile("/@!Launch/@Menu/update-site.txt", ChosenItem6['Name'])
				confirm()
				const Text15 = "#//:settings"
				runSelf(Text15)
			} else {
				const Text16 = "#//:settings"
				runSelf(Text16)
			}
		}
	}
	if ChosenItem3['Name'] == "Check addons" {
		const Text17 = "Launch @Themes"
		const MyShortcuts = getShortcuts()
		for _ in MyShortcuts {
			if Text17 contains @RepeatItem {
				const UpdatedText = replaceText("Launch ", "")
				const File3 = getFile("@!Launch/{UpdatedText}/check.txt", false)
				if !File3 {
					const CombinedText = joinText([map[Value:map[attachmentsByRange:map[{0, 1}:map[OutputName:Text OutputUUID:50474821-A6B3-45B7-8661-9402C31221F2 Type:ActionOutput]] string:] WFSerializationType:WFTextTokenString] map[Value:map[attachmentsByRange:map[{0, 1}:map[OutputName:Updated Text OutputUUID:B7778139-F719-4EE4-B9B4-CDA80D0019E2 Type:ActionOutput]] string:] WFSerializationType:WFTextTokenString]], " ")
				}
			}
		}
		const ContentsOfURL14 = downloadURL("https://ibb.co/DwYhr5P")
		base64Encode(ContentsOfURL14)
		@addons = "nil"
		if UpdatedText contains "@Themes" {
			if CombinedText contains "@Themes" {
				@addons += "\nBEGIN:VCARD\nN:@Themes [Not injected]\nORG:Press to run shortcut.\nPHOTO;ENCODING=b:{}\nEND:VCARD"
			} else {
				@addons += "\nBEGIN:VCARD\nN:@Themes [Injected]\nORG:Press to run shortcut.\nPHOTO;ENCODING=b:{}\nEND:VCARD"
			}
		}
		@addons += "\nBEGIN:VCARD\nN:Back\nPHOTO;ENCODING=b:{}\nEND:VCARD"
		const Text18 = "{@addons}"
		const RenamedItem7 = setName(Text18, "@!addons.vcf")
		const ChosenItem7 = chooseFromList(RenamedItem7)
		if ChosenItem7['Name'] contains "@Themes" {
			run("Launch @Themes", nil)
		}
		if ChosenItem7['Name'] == "Back" {
			const Text19 = "#//:settings"
			runSelf(Text19)
		}
	}
	if ChosenItem3['Name'] == "Back" {
		runSelf()
	}
}
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 rylens

Ver tudo

Você também pode gostar

Ver tudo
Publicidade