This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
trigger:URL [2016/05/05 17:01] alain JMTX template + add internal links |
trigger:URL [2017/09/04 22:29] peternlewis |
||
---|---|---|---|
Line 3: | Line 3: | ||
kmtrigger://macro=MacroName&value=Value | kmtrigger://macro=MacroName&value=Value | ||
| | ||
- | The value is accessible via the [%TriggerValue%](token:TriggerValue) text token. | + | Note that a macro must be active (that is, it must be enabled, and the macro group that contains it must be enabled and active) in order for the macro to be triggered by any means including via URL. |
+ | |||
+ | You can pass a parameter to the macro by adding the *value* field to the URL. The parameter is available to the macro as the [[token:TriggerValue|%TriggerValue% text token]] (v7.0+). | ||
===== See Also ===== | ===== See Also ===== | ||
- | |||
- | ---- | ||
==== Actions ==== | ==== Actions ==== | ||
* [[action:Execute a Macro|Execute a Macro]] | * [[action:Execute a Macro|Execute a Macro]] | ||
+ | * [[:Actions|See all Actions]] | ||
+ | |||
+ | ==== Tokens ==== | ||
+ | |||
+ | * [[token:TriggerValue|%TriggerValue%]] | ||
+ | * [[:Tokens|See all Tokens]] | ||
+ | |||
+ | ==== Triggers ==== | ||
- | === Triggers === | + | * [[Script|Script]] trigger |
+ | * [[URL|URL]] trigger | ||
+ | * [[Trigger File|Trigger File]] | ||
+ | * [[/Triggers|All Triggers]] | ||
- | * [[:Triggers|See all Triggers]] | + | ==== Forum ==== |
- | ---- | + | - [[https://forum.keyboardmaestro.com/t/what-exactly-are-those-keyboardmaestro-url-scheme-actions-and-how-do-i-use-them/2668|What exactly are those "keyboardmaestro URL Scheme" actions and how do I use them?]] |
+ | - [[https://forum.keyboardmaestro.com/search?q=kmtrigger|Keyboard Maestro Forum topics about kmtrigger: scheme]] |