Linking this with the shortcuts app (iOS only), you can make a very simple shortcut that activates the link, and Voila, activating the script with a swipe to widgets on your phone, and click one button. The script is super easy to make, all you need is “url”, and replace the link with the remote url created by Keyboard Maestro, and get Contents of Web Page, to prevent it from opening your Browser on the phone.
I'm having difficulty using the Remote Web Trigger and hope someone can provide some advice. My macro works successfully normally and simply disables my VPN and puts my MacBook Pro screen to sleep at night.
Now, I want to trigger the macro by using an iOS shortcut from my iPhone. I have enabled the Remote Trigger on the macro, but I can't get the iOS shortcut actions to trigger the KM macro and I get the following on my iPhone.
I'm using the KM generated URL with the unique IDs and a TriggerValue of ⌃⌥S. I tried the TriggerValue as ⌃⌥S and as well an attempted encoded version using %u2303%u2325S (from here)
I do something very similar, but I don't see the utility of using an iOS device to trigger this type of macro.
I find it easier to just trigger a macro like this when I startup or wake my Mac from sleep.
I put in a Pause of 15 seconds to allow the system to get fully up and running, and to allow systems like DropBox and KM to complete any syncs that may be needed.
Then I present a Prompt of whether to continue or stop the Wake Macro.
Been using this system for years, and I find it works well.