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
Novedades
Versión 1.0
First release
Qué hace
375 acciones-
CommentWhen 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.
-
CommentAdam Tow • tow.com @atow • /u/adamtow https://adamtow.github.io/wifi-triggers
-
Set Variableargv
-
Text
-
Set VariableLanguage
-
CommentDo not modify anything below this line.
-
Dictionary
-
Set VariableApp
-
Get Type
-
Text
-
Set VariableEmpty.string
-
Get Type
-
Dictionary
-
Set VariableTypes
-
CommentLocalization
-
Text
-
Set VariableAll Localizations
-
If
-
Count
-
If
-
If
-
Set VariableLanguage
-
If
-
Set VariableLanguage
-
Get Dictionary Value
-
Set VariableLocalized Strings
-
If
-
If
-
Get Dictionary Value
-
Set VariableLocalized Strings
-
CommentTest defaults
-
Set VariableTest.defaults
-
CommentDevice Name
-
Get Device Details
-
Replace Text
-
Set VariableDevice.ID
-
Create Folder
-
CommentInspect Shortcut Input and select the current function.
-
Get Type
-
If
-
If
-
CommentDisplay custom input
-
List
-
If
-
If
-
CommentBeing called in background via Autocuts.
-
List
-
If
-
List
-
If
-
List
-
Set VariableFunction.stack
-
Comment✳️✳️✳️✳️◻️✳️✳️✳️ ✳️◻️◻️✳️◻️✳️◻️✳️ ✳️✳️✳️✳️◻️✳️✳️✳️ ✳️◻️✳️◻️◻️✳️◻️◻️ ✳️◻️◻️✳️◻️✳️◻️◻️
-
Repeat
-
Get Item from List
-
Set VariableFunction.name
-
Count
-
If
-
Get Item from List
-
Set VariableFunction.stack
-
If
-
Set VariableFunction.stack
-
Comment// Begin functions
-
Comment⬛️⬛️⬛️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️⬛️◻️⬛️ ⬛️⬛️⬛️◻️⬛️◻️⬛️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️
-
If
-
CommentInitialize.assets **************** Creates the Assets variable.
-
Dictionary
-
Set VariableAssets
-
If
-
Comment// Initialize.assets
-
Comment⬛️⬛️⬛️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️⬛️◻️⬛️ ⬛️⬛️⬛️◻️⬛️◻️⬛️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️
-
If
-
CommentApplication.main ***************** Main menu.
-
List
-
Dictionary
-
Repeat with Each
-
Set VariableApplication.main.menuItem
-
Get Dictionary Value
-
Set VariableApplication.main.menuIcon
-
Text
-
Combine Text
-
Set Name
-
Choose from List
-
Set VariableApplication.main.menuChoice
-
Set VariableApplication.main.menuType
-
If
-
List
-
Set VariableFunction.stack
-
If
-
CommentHandle other menu types.
-
If
-
Comment// Application.main
-
Comment⬛️⬛️⬛️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️⬛️◻️⬛️ ⬛️⬛️⬛️◻️⬛️◻️⬛️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️
-
If
-
CommentAutocuts.open *************** Opens the Autocuts Admin shortcut.
-
Get My Shortcuts
-
Filter Files
-
If
-
Run Shortcut
-
Stop This Shortcut
-
If
-
Choose from Menu…
-
Choose from MenuLocalized Strings (menu_autocuts_installConfirm)
-
URLhttps://routinehub.co/api/v1/shortcuts/…/versions/latest
-
Get Contents of URL…
-
Get Dictionary from Input
-
Open URLs
-
Stop This Shortcut
-
Choose from MenuLocalized Strings (menu_autocuts_installLater)
-
If
-
Comment// Autocuts.open
-
Comment⬛️⬛️⬛️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️⬛️◻️⬛️ ⬛️⬛️⬛️◻️⬛️◻️⬛️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️
-
If
-
CommentHelp ***** Displays the help page.
-
Open URLs
-
Stop This Shortcut
-
If
-
Comment// Help
-
Comment⬛️⬛️⬛️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️⬛️◻️⬛️ ⬛️⬛️⬛️◻️⬛️◻️⬛️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️
-
If
-
CommentQuit ***** Exits the shortcut.
-
Stop This Shortcut
-
If
-
Comment// Quit
-
Comment⬛️⬛️⬛️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️⬛️◻️⬛️ ⬛️⬛️⬛️◻️⬛️◻️⬛️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️
-
If
-
CommentAbout ****** Displays the about page with version and build information.
-
Show Alert…
-
If
-
Comment// About
-
Comment⬛️⬛️⬛️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️⬛️◻️⬛️ ⬛️⬛️⬛️◻️⬛️◻️⬛️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️
-
If
-
CommentNew ***** Create a new Wi-Fi Trigger and send it to Autocuts Admin.
-
Dictionary
-
Run Shortcut
-
If
-
If
-
Dictionary
-
Run Shortcut
-
Stop This Shortcut
-
If
-
Comment// New
-
Comment⬛️⬛️⬛️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️⬛️◻️⬛️ ⬛️⬛️⬛️◻️⬛️◻️⬛️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️
-
If
-
CommentNetwork.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.
-
Get Network Details
-
Set VariableNetwork.current
-
If
-
If
-
Set VariableNetwork.current
-
Get Dictionary Value
-
Get Dictionary Value
-
Replace Text
-
Set VariableNetwork.update.logNameSuffix
-
Text
-
Set VariableLog.path
-
Get File
-
Set VariableLog
-
If
-
If
-
Text
-
Save File
-
Set VariableLog
-
Split Text
-
Get Item from List
-
Split Text
-
Get Item from List
-
Set VariableNetwork.previous
-
If
-
CommentCurrently still connected.
-
If
-
Text
-
Append to Text File
-
If
-
Comment// Network.update
-
Comment⬛️⬛️⬛️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️⬛️◻️⬛️ ⬛️⬛️⬛️◻️⬛️◻️⬛️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️
-
If
-
CommentAutocuts.test ************** Let the user manually test the functionality of Wi-Fi Triggers.
-
If
-
Dictionary
-
Set VariableTest.defaults
-
If
-
Dictionary
-
Set VariableTest.defaults
-
Dictionary
-
Run Shortcut
-
List
-
Set VariableFunction.stack
-
If
-
Comment// Autocuts.test
-
Comment⬛️⬛️⬛️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️⬛️◻️⬛️ ⬛️⬛️⬛️◻️⬛️◻️⬛️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️ ⬛️◻️◻️◻️⬛️◻️◻️⬛️
-
If
-
CommentAutocuts.run ************* Called when run by Autocuts.
-
Get Dictionary from Input
-
Set VariableAutocuts.run.dictionary
-
If
-
CommentDon't do anything if the dictionary doesn't exist.
-
If
-
Split Text
-
Number
Valoraciones y reseñas
Escribe una reseña–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!
Publicidad
Más de hunter9888x
También te puede gustar
Publicidad