token:TriggerValue
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| token:TriggerValue [2016/08/18 06:17] – CALCULATE(%TriggerValue%) peternlewis | token:TriggerValue [2025/02/26 02:13] (current) – peternlewis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| The // | The // | ||
| - | Different ways ofd triggering the macro will set this field differently. | + | Different ways of triggering the macro will set this field differently. |
| * You can pass an explicit value in using the "with parameter" | * You can pass an explicit value in using the "with parameter" | ||
| Line 7: | Line 7: | ||
| * 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: | * You can pass an explicit value in when executing the macro via the [kmtrigger URL](trigger: | ||
| - | * It will reflect the exact text you typed to trigger a [Typed String trigger](trigger: | ||
| - | * 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 application name for an application trigger. | ||
| - | * It will reflect the name of the file added/ | ||
| - | To use the %TriggerValue% token in a numeric field, use the [CALCULATE](https:// | + | **When a Macro is triggered, the The // |
| + | |||
| + | ^ Trigger Type ^ `%TriggerValue%` token ^ | ||
| + | | [[trigger: | ||
| + | | [[trigger: | ||
| + | | [[trigger: | ||
| + | | [[trigger: | ||
| + | | [[trigger: | ||
| + | | [[action: | ||
| + | | [[trigger: | ||
| + | | [[trigger: | ||
| + | | [[trigger: | ||
| + | | [[trigger: | ||
| + | | [[trigger: | ||
| + | | [[trigger: | ||
| + | | [[trigger: | ||
| + | | [[trigger: | ||
| + | | [[trigger: | ||
| + | | [[trigger: | ||
| + | | [[trigger: | ||
| + | | [[trigger: | ||
| + | | [[trigger: | ||
| + | |||
| + | To use the %TriggerValue% token in a numeric field, use the [CALCULATE](https:// | ||
| + | |||
| + | You can easily access the individual parts using the token array notation, eg `%TriggerValue[3]%` will be the third comma-separated value, and `%TriggerValue[3]; | ||
| + | |||
| + | ===== See Also ===== | ||
| + | |||
| + | === Tokens === | ||
| + | |||
| + | * [[Trigger|%Trigger%]] token | ||
| + | * [[TriggerBase|%TriggerBase%]] token | ||
| + | * [[TriggerClipboard|%TriggerClipboard%]] token | ||
| + | * [[/ | ||
| + | |||
token/TriggerValue.1471501046.txt.gz · Last modified: by peternlewis
