ShareShortcuts
Fazer fork de “Wi-Fi Triggers”

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 hunter9888x 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
64K
Salvo
1
Ações
375
Categoria
Utilities
Versão
1.0
Idioma
EN

When I Connect to Wi-Fi

**************************

Works with Autocuts to automatically run a custom shortcut or display a notification when you connect to or disconnect from a particular network.

Adam Tow • tow.com

@atow • /u/adamtow

https://adamtow.github.io/wifi-triggers

Novidades

Versão 1.0

First release

Histórico de versões
1.0 8 de dez de 2019

First release

O que ele faz

375 ações
  1. Comment
    When I Connect to Wi-Fi ************************** Works with Autocuts to automatically run a custom shortcut or display a notification when you connect to or disconnect from a particular network.
  2. Comment
    Adam Tow • tow.com @atow • /u/adamtow https://adamtow.github.io/wifi-triggers
  3. Set Variable
    argv
  4. Text
  5. Set Variable
    Language
  6. Comment
    Do not modify anything below this line.
  7. Dictionary
  8. Set Variable
    App
  9. Get Type
  10. Text
  11. Set Variable
    Empty.string
  12. Get Type
  13. Dictionary
  14. Set Variable
    Types
  15. Comment
    Localization
  16. Text
  17. Set Variable
    All Localizations
  18. If
  19. Count
  20. If
  21. If
  22. Set Variable
    Language
  23. If
  24. Set Variable
    Language
  25. Get Dictionary Value
  26. Set Variable
    Localized Strings
  27. If
  28. If
  29. Get Dictionary Value
  30. Set Variable
    Localized Strings
  31. Comment
    Test defaults
  32. Set Variable
    Test.defaults
  33. Comment
    Device Name
  34. Get Device Details
  35. Replace Text
  36. Set Variable
    Device.ID
  37. Create Folder
  38. Comment
    Inspect Shortcut Input and select the current function.
  39. Get Type
  40. If
  41. If
  42. Comment
    Display custom input
  43. List
  44. If
  45. If
  46. Comment
    Being called in background via Autocuts.
  47. List
  48. If
  49. List
  50. If
  51. List
  52. Set Variable
    Function.stack
  53. Comment
    ✳️✳️✳️✳️◻️✳️✳️✳️ ✳️◻️◻️✳️◻️✳️◻️✳️ ✳️✳️✳️✳️◻️✳️✳️✳️ ✳️◻️✳️◻️◻️✳️◻️◻️ ✳️◻️◻️✳️◻️✳️◻️◻️
  54. Repeat
  55. Get Item from List
  56. Set Variable
    Function.name
  57. Count
  58. If
  59. Get Item from List
  60. Set Variable
    Function.stack
  61. If
  62. Set Variable
    Function.stack
  63. Comment
    // Begin functions
  64. Comment
    ⬛️⬛️⬛️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️⬛️◻️⬛️ ⬛️⬛️⬛️◻️⬛️◻️⬛️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️
  65. If
  66. Comment
    Initialize.assets **************** Creates the Assets variable.
  67. Dictionary
  68. Set Variable
    Assets
  69. If
  70. Comment
    // Initialize.assets
  71. Comment
    ⬛️⬛️⬛️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️⬛️◻️⬛️ ⬛️⬛️⬛️◻️⬛️◻️⬛️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️
  72. If
  73. Comment
    Application.main ***************** Main menu.
  74. List
  75. Dictionary
  76. Repeat with Each
  77. Set Variable
    Application.main.menuItem
  78. Get Dictionary Value
  79. Set Variable
    Application.main.menuIcon
  80. Text
  81. Combine Text
  82. Set Name
  83. Choose from List
  84. Set Variable
    Application.main.menuChoice
  85. Set Variable
    Application.main.menuType
  86. If
  87. List
  88. Set Variable
    Function.stack
  89. If
  90. Comment
    Handle other menu types.
  91. If
  92. Comment
    // Application.main
  93. Comment
    ⬛️⬛️⬛️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️⬛️◻️⬛️ ⬛️⬛️⬛️◻️⬛️◻️⬛️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️
  94. If
  95. Comment
    Autocuts.open *************** Opens the Autocuts Admin shortcut.
  96. Get My Shortcuts
  97. Filter Files
  98. If
  99. Run Shortcut
  100. Stop This Shortcut
  101. If
  102. Choose from Menu
    …
  103. Choose from Menu
    Localized Strings (menu_autocuts_installConfirm)
  104. URL
    https://routinehub.co/api/v1/shortcuts/…/versions/latest
  105. Get Contents of URL
    …
  106. Get Dictionary from Input
  107. Open URLs
  108. Stop This Shortcut
  109. Choose from Menu
    Localized Strings (menu_autocuts_installLater)
  110. If
  111. Comment
    // Autocuts.open
  112. Comment
    ⬛️⬛️⬛️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️⬛️◻️⬛️ ⬛️⬛️⬛️◻️⬛️◻️⬛️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️
  113. If
  114. Comment
    Help ***** Displays the help page.
  115. Open URLs
  116. Stop This Shortcut
  117. If
  118. Comment
    // Help
  119. Comment
    ⬛️⬛️⬛️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️⬛️◻️⬛️ ⬛️⬛️⬛️◻️⬛️◻️⬛️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️
  120. If
  121. Comment
    Quit ***** Exits the shortcut.
  122. Stop This Shortcut
  123. If
  124. Comment
    // Quit
  125. Comment
    ⬛️⬛️⬛️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️⬛️◻️⬛️ ⬛️⬛️⬛️◻️⬛️◻️⬛️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️
  126. If
  127. Comment
    About ****** Displays the about page with version and build information.
  128. Show Alert
    …
  129. If
  130. Comment
    // About
  131. Comment
    ⬛️⬛️⬛️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️⬛️◻️⬛️ ⬛️⬛️⬛️◻️⬛️◻️⬛️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️
  132. If
  133. Comment
    New ***** Create a new Wi-Fi Trigger and send it to Autocuts Admin.
  134. Dictionary
  135. Run Shortcut
  136. If
  137. If
  138. Dictionary
  139. Run Shortcut
  140. Stop This Shortcut
  141. If
  142. Comment
    // New
  143. Comment
    ⬛️⬛️⬛️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️⬛️◻️⬛️ ⬛️⬛️⬛️◻️⬛️◻️⬛️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️
  144. If
  145. Comment
    Network.update ***************** Updates the current network name to the log if it's different from the previous one. We keep track of individual logs per Wi-Fi Trigger, so we can manage multiple triggers at the same time.
  146. Get Network Details
  147. Set Variable
    Network.current
  148. If
  149. If
  150. Set Variable
    Network.current
  151. Get Dictionary Value
  152. Get Dictionary Value
  153. Replace Text
  154. Set Variable
    Network.update.logNameSuffix
  155. Text
  156. Set Variable
    Log.path
  157. Get File
  158. Set Variable
    Log
  159. If
  160. If
  161. Text
  162. Save File
  163. Set Variable
    Log
  164. Split Text
  165. Get Item from List
  166. Split Text
  167. Get Item from List
  168. Set Variable
    Network.previous
  169. If
  170. Comment
    Currently still connected.
  171. If
  172. Text
  173. Append to Text File
  174. If
  175. Comment
    // Network.update
  176. Comment
    ⬛️⬛️⬛️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️⬛️◻️⬛️ ⬛️⬛️⬛️◻️⬛️◻️⬛️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️
  177. If
  178. Comment
    Autocuts.test ************** Let the user manually test the functionality of Wi-Fi Triggers.
  179. If
  180. Dictionary
  181. Set Variable
    Test.defaults
  182. If
  183. Dictionary
  184. Set Variable
    Test.defaults
  185. Dictionary
  186. Run Shortcut
  187. List
  188. Set Variable
    Function.stack
  189. If
  190. Comment
    // Autocuts.test
  191. Comment
    ⬛️⬛️⬛️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️⬛️◻️⬛️ ⬛️⬛️⬛️◻️⬛️◻️⬛️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️
  192. If
  193. Comment
    Autocuts.run ************* Called when run by Autocuts.
  194. Get Dictionary from Input
  195. Set Variable
    Autocuts.run.dictionary
  196. If
  197. Comment
    Don't do anything if the dictionary doesn't exist.
  198. If
  199. Split Text
  200. Number

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 hunter9888x

Ver tudo

Você também pode gostar

Ver tudo
Publicidade