This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
trigger:Remote [2018/07/16 22:28] JMichaelTX Major rewrite, add screenshots, sections |
trigger:Remote [2019/09/22 15:26] (current) JMichaelTX ADD section on How to Invoke |
||
---|---|---|---|
Line 3: | Line 3: | ||
The *Remote trigger* (v8+) lets you trigger selected macros from any device on the Internet, without authentication, via a Stairways Software web server. Of course, you have to have set this [[:Triggers|trigger]] on the [[manual:Macros|Macro]] first. | The *Remote trigger* (v8+) lets you trigger selected macros from any device on the Internet, without authentication, via a Stairways Software web server. Of course, you have to have set this [[:Triggers|trigger]] on the [[manual:Macros|Macro]] first. | ||
- | For a good discussion, see:\\ | + | For a good discussion, see: |
- | [Tip: How & When to Use the Remote Trigger](https://forum.keyboardmaestro.com/t/triggering-keyboard-maestro-macros-remotely/8277?u=jmichaeltx), 2017-10-13, peternlewis | + | * [Tip: How & When to Use the Remote Trigger](https://forum.keyboardmaestro.com/t/triggering-keyboard-maestro-macros-remotely/8277?u=jmichaeltx), 2017-10-13, peternlewis |
+ | * [Macro Triggers that Use a URL](https://forum.keyboardmaestro.com/t/request-for-a-working-example-of-remote-trigger/10844/10?u=jmichaeltx), 2018-07-15, peternlewis | ||
--- | --- | ||
Line 51: | Line 52: | ||
* //UniqueID2// can be defined by you, and defaults to a Globally Unique ID. | * //UniqueID2// can be defined by you, and defaults to a Globally Unique ID. | ||
* **It is best to not change these IDs to ensure that no one else is using the same ID as you are.** | * **It is best to not change these IDs to ensure that no one else is using the same ID as you are.** | ||
+ | |||
+ | ==== How To Invoke Remote Trigger ==== | ||
+ | - In the Remote trigger section of the Macro, click the _Copy_ button (as shown in the above screen shot), and it will copy the URL required. | ||
+ | - Paste it into any app or tool that will open a URL, like: | ||
+ | - The Address bar of any web browser | ||
+ | - The `/bin/open` command in Terminal, or a [[action:Execute_a_Shell_Script|Execute a Shell Script]] | ||
+ | - [[action:Open_a_URL|Open a URL action]] | ||
+ | |||
+ | ==== More Information ==== | ||
+ | |||
If more than one macro (on any Mac, anywhere in the world, yours, or anyone else's) has the same pair of UniqueIDs, then all those macros will trigger when the URL is accessed. | If more than one macro (on any Mac, anywhere in the world, yours, or anyone else's) has the same pair of UniqueIDs, then all those macros will trigger when the URL is accessed. |