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 | ||
token:TriggerValue [2015/07/17 02:09] peternlewis |
token:TriggerValue [2016/08/18 02:17] peternlewis CALCULATE(%TriggerValue%) |
||
---|---|---|---|
Line 6: | Line 6: | ||
* You can pass an explicit value in when using the [Execute a Macro action](action:Execute_a_Macro). | * You can pass an explicit value in when using the [Execute a Macro action](action:Execute_a_Macro). | ||
* You can pass an explicit value in when executing the macro via the web server. | * You can pass an explicit value in when executing the macro via the web server. | ||
+ | * You can pass an explicit value in when executing the macro via the [kmtrigger URL](trigger:URL). | ||
* It will reflect the exact text you typed to trigger a [Typed String trigger](trigger:Typed_String). | * It will reflect the exact text you typed to trigger a [Typed String trigger](trigger:Typed_String). | ||
* It will reflect the current modifiers when triggering a macro via the Status Menu or a Palette (Note that Option means "edit this macro instead of triggering it"). | * It will reflect the current modifiers when triggering a macro via the Status Menu or a Palette (Note that Option means "edit this macro instead of triggering it"). | ||
* It will reflect the hot key or device key pressed. | * It will reflect the hot key or device key pressed. | ||
+ | * It will reflect the application name for an application trigger. | ||
+ | * It will reflect the name of the file added/removed from a folder. | ||
- | + | To use the %TriggerValue% token in a numeric field, use the [CALCULATE](https://wiki.keyboardmaestro.com/function/CALCULATE) function: CALCULATE(%TriggerValue%) |