ShareShortcuts

NEW SYSTEM TOGGLE

New shortcu

majorata
Fazer fork de “NEW SYSTEM TOGGLE”

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 majorata 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
31K
Salvo
1
Ações
115
Categoria
API
Versão
1.0
Idioma
EN

New shortcu

Novidades

Versão 1.0

First release

Histórico de versões
1.0 11 de jul de 2023

First release

O que ele faz

115 ações
  1. If
  2. Dictionary
  3. Text
  4. Set Name
  5. Choose from List
  6. If
  7. Choose from Menu
    Boost?
  8. Choose from Menu
    Refresh
  9. Get Network Details
  10. Get Network Details
  11. Get Network Details
  12. Set Cellular Data
  13. Set Personal Hotspot
  14. Wait
  15. Set Cellular Data
  16. Choose from Menu
    3G
  17. Show Alert
  18. Cellular Rat Set
  19. Wait
  20. Lock Screen
  21. Show Alert
  22. Choose from Menu
    LTE
  23. Show Alert
  24. Cellular Rat Set
  25. Lock Screen
  26. Show Alert
  27. Run Shortcut
    iControl 1.7.0 Beta 7.1
  28. If
  29. Dictionary
  30. Text
  31. Set Name
  32. Get Contacts from Input
  33. Choose from List
  34. If
  35. Set Cellular Data
  36. If
  37. If
  38. Set Personal Hotspot
  39. Wait
  40. Set Cellular Data
  41. If
  42. Run Shortcut
    iControl 1.7.0 Beta 7.1
  43. If
  44. Dictionary
  45. Text
  46. Set Name
  47. Get Contacts from Input
  48. Choose from List
  49. If
  50. Set Cellular Data
  51. Wait
  52. Set Personal Hotspot
  53. URL
    Prefs:root=INTERNET_TETHERING
  54. Open URLs
  55. If
  56. If
  57. Set Personal Hotspot
  58. If
  59. Run Shortcut
    iControl 1.7.0 Beta 7.1
  60. If
  61. Dictionary
  62. Text
  63. Set Name
  64. Get Contacts from Input
  65. Choose from List
  66. If
  67. Vpn Set
  68. If
  69. If
  70. Vpn Set
  71. If
  72. Run Shortcut
    iControl 1.7.0 Beta 7.1
  73. If
  74. Dictionary
  75. Text
  76. Set Name
  77. Get Contacts from Input
  78. Choose from List
  79. If
  80. Set Wi-Fi
  81. If
  82. If
  83. Set Wi-Fi
  84. If
  85. Run Shortcut
    iControl 1.7.0 Beta 7.1
  86. If
  87. Dictionary
  88. Text
  89. Set Name
  90. Get Contacts from Input
  91. Choose from List
  92. If
  93. Set Bluetooth
  94. If
  95. If
  96. Set Bluetooth
  97. If
  98. Run Shortcut
    iControl 1.7.0 Beta 7.1
  99. If
  100. URL
    Prefs:root=Privacy&path=LOCATION
  101. Open URLs
  102. If
  103. Dictionary
  104. Text
  105. Set Name
  106. Get Contacts from Input
  107. Choose from List
  108. If
  109. A X Toggle Assistive Touch
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  110. If
  111. If
  112. A X Toggle Assistive Touch
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  113. If
  114. Run Shortcut
    iControl 1.7.0 Beta 7.1
  115. If

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/network'
#define color teal
#define glyph puzzlePiece


if !ShortcutInput {
	const Text = "BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Cellular data 3G LTE refresh;;;;\nORG;CHARSET=utf-8:data refresh and switch between 3g lte;\nPHOTO;ENCODING=b:{['celular data 3g']}\nEND:VCARD\n\n\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:cellular data toggle;;;;\nORG;CHARSET=utf-8:cellular data on off;\nPHOTO;ENCODING=b:{['celular data']}\nEND:VCARD\n\n\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Personal hotspot toggle;;;;\nORG;CHARSET=utf-8: personal hotspot on off;\nPHOTO;ENCODING=b:{['personal hotspot']}\nEND:VCARD\n\n\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:VPN toggle;;;;\nORG;CHARSET=utf-8:  VPN on off;\nPHOTO;ENCODING=b:{['vpn']}\nEND:VCARD\n\n\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Wi-Fi toggle;;;;\nORG;CHARSET=utf-8:Wi-Fi on off;\nPHOTO;ENCODING=b:{['Wi-Fi']}\nEND:VCARD\n\n\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8: Bluetooth toggle;;;;\nORG;CHARSET=utf-8:Bluetooth  on off;\nPHOTO;ENCODING=b:{['Bluetooth']}\nEND:VCARD\n\n\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8: location services toggle;;;;\nORG;CHARSET=utf-8: Public transportation to all location services;\nPHOTO;ENCODING=b:{['location']}\nEND:VCARD\n\n\n\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8: Assistive Touch toggle;;;;\nORG;CHARSET=utf-8:Assistive Touch on off;\nPHOTO;ENCODING=b:{['assistive']}\nEND:VCARD\n"
	const ObjektUmbenennen = setName(Text, "Action.vcf")
	const ChosenItem = chooseFromList(ObjektUmbenennen, "Action")
	if ChosenItem == "Cellular data 3G LTE refresh" {
		menu "Boost?" {
		item "Refresh":
			getCellularDetail("Radio Technology")
			getWifiDetail("Network Name")
			getCellularDetail("Carrier Name")
			setCellularData(0)
			setHotspot(false)
			wait(5)
			setCellularData(1)
		item "3G":
			confirm("In the next pop up you can choose which SIM do you want to boost.(if you have eSIM.)")
			rawAction("is.workflow.actions.cellular.rat.set", {
				"ratMode": "3G",
				"sim": "Ask"
			})
			wait(3)
			lockScreen()
			confirm("Boosted!")
		item "LTE":
			confirm("In the next pop up you can choose which SIM do you want to boost.(if you have eSIM.)")
			rawAction("is.workflow.actions.cellular.rat.set", {
				"ratMode": "LTE",
				"sim": "Ask"
			})
			lockScreen()
			confirm("Signal from before has been successful retrieved")
		}
		runSelf()
	}
	if ChosenItem == "cellular data toggle" {
		const Metin = "BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:On;;;;\nORG:  ;\nPHOTO;ENCODING=b:{['Icons.on']}\nEND:VCARD\n\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Off;;;;\nORG:  ;\nPHOTO;ENCODING=b:{['Icons.off']}\nEND:VCARD\n\n"
		const AdDeimie = setName(Metin, "vcard.vcf")
		const Kiiler = getContacts(AdDeimie)
		const Seilie = chooseFromList(Kiiler, false)
		if Seilie == "On" {
			setCellularData(1)
		} else {
		}
		if Seilie == "Off" {
			setHotspot(false)
			wait(2)
			setCellularData(0)
		} else {
		}
		runSelf(EerSonucu)
	}
	if ChosenItem == "Personal hotspot toggle" {
		const Metin1 = "BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:On;;;;\nORG:  ;\nPHOTO;ENCODING=b:{['Icons.on']}\nEND:VCARD\n\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Off;;;;\nORG:  ;\nPHOTO;ENCODING=b:{['Icons.off']}\nEND:VCARD\n\n"
		const AdDeimie1 = setName(Metin1, "vcard.vcf")
		const Kiiler1 = getContacts(AdDeimie1)
		const Seilie1 = chooseFromList(Kiiler1, false)
		if Seilie1 == "On" {
			setCellularData(1)
			wait(2)
			setHotspot(false)
			const URL = url("Prefs:root=INTERNET_TETHERING")
			openURL(URL)
		} else {
		}
		if Seilie1 == "Off" {
			setHotspot(false)
		} else {
		}
		runSelf()
	}
	if ChosenItem == "VPN toggle" {
		const Metin2 = "BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:On;;;;\nORG:  ;\nPHOTO;ENCODING=b:{['Icons.on']}\nEND:VCARD\n\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Off;;;;\nORG:  ;\nPHOTO;ENCODING=b:{['Icons.off']}\nEND:VCARD\n\n"
		const AdDeimie2 = setName(Metin2, "Menu.vcf")
		const Kiiler2 = getContacts(AdDeimie2)
		const Seilie2 = chooseFromList(Kiiler2, false)
		if Seilie2 == "On" {
			rawAction("is.workflow.actions.vpn.set", {
				"WFVPN": "Ask"
			})
		} else {
		}
		if Seilie2 == "Off" {
			rawAction("is.workflow.actions.vpn.set", {
				"WFVPN": "Ask",
				"WFVPNOperation": "Disconnect"
			})
		} else {
		}
		runSelf(EerSonucu1)
	}
	if ChosenItem == "Wi-Fi toggle" {
		const Metin3 = "BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:On;;;;\nORG:  ;\nPHOTO;ENCODING=b:{['Icons.on']}\nEND:VCARD\n\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Off;;;;\nORG:  ;\nPHOTO;ENCODING=b:{['Icons.off']}\nEND:VCARD\n\n"
		const AdDeimie3 = setName(Metin3, "vcard.vcf")
		const Kiiler3 = getContacts(AdDeimie3)
		const Seilie3 = chooseFromList(Kiiler3, false)
		if Seilie3 == "On" {
			setWifi(1)
		} else {
		}
		if Seilie3 == "Off" {
			setWifi(0)
		} else {
		}
		runSelf(EerSonucu1)
	}
	if ChosenItem == "Bluetooth toggle" {
		const Metin4 = "BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:On;;;;\nORG:  ;\nPHOTO;ENCODING=b:{['Icons.on']}\nEND:VCARD\n\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Off;;;;\nORG:  ;\nPHOTO;ENCODING=b:{['Icons.off']}\nEND:VCARD\n\n"
		const AdDeimie4 = setName(Metin4, "vcard.vcf")
		const Kiiler4 = getContacts(AdDeimie4)
		const Seilie4 = chooseFromList(Kiiler4, false)
		if Seilie4 == "On" {
			setBluetooth(false)
		} else {
		}
		if Seilie4 == "Off" {
			setBluetooth(0)
		} else {
		}
		runSelf(EerSonucu1)
	}
	if ChosenItem == "location services toggle" {
		const URL1 = url("Prefs:root=Privacy&path=LOCATION")
		openURL(URL1)
	}
}

if ChosenItem == "Assistive Touch toggle" {
	const Metin5 = "BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:On;;;;\nORG:  ;\nPHOTO;ENCODING=b:{['Icons.on']}\nEND:VCARD\n\nBEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:Off;;;;\nORG:  ;\nPHOTO;ENCODING=b:{['Icons.off']}\nEND:VCARD\n\n"
	const AdDeimie5 = setName(Metin5, "vcard.vcf")
	const Kiiler5 = getContacts(AdDeimie5)
	const Seilie5 = chooseFromList(Kiiler5, false)
	if Seilie5 == "On" {
		rawAction("com.apple.AccessibilityUtilities.AXSettingsShortcuts.AXToggleAssistiveTouchIntent", {
			"operation": "turn",
			"state": 1
		})
	} else {
	}
	if Seilie5 == "Off" {
		rawAction("com.apple.AccessibilityUtilities.AXSettingsShortcuts.AXToggleAssistiveTouchIntent", {
			"operation": "turn",
			"state": 0
		})
	} else {
	}
	runSelf(EerSonucu1)
} else {
}
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 majorata

Ver tudo

Você também pode gostar

Ver tudo
Publicidade