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 | ||
manual:Tokens [2019/08/25 17:18] JMichaelTX [Examples] Add link to macro |
manual:Tokens [2019/08/26 11:30] JMichaelTX ADD Image of Clipboard results |
||
---|---|---|---|
Line 6: | Line 6: | ||
2. [[:Functions|Functions]] (returns numbers, used in numeric fields ) | 2. [[:Functions|Functions]] (returns numbers, used in numeric fields ) | ||
- | You can enter a Token in any [[/Text_Fields|text field]] in an [[:Actions|Action]], and when the Macro is triggered and the Action is executed, the token will be replaced by the value that is returned at run time. | + | You can enter a Token in any [[/Text_Fields|text field]] in an [[:Actions|Action]], and when the Macro is triggered and the Action is executed, the token will be replaced by the value that is returned at run time. This allows you to easily combine static text with dynamic data that is supplied at run time, in most any Action that has a text field, like [[action:Display_Text|Display Text]] and [[action:Set_Variable_to_Text|Set Variable to Text]]. |
===== Token Format ===== | ===== Token Format ===== | ||
Line 39: | Line 39: | ||
The "`[]()`" are just characters you type. | The "`[]()`" are just characters you type. | ||
+ | |||
+ | After the macro and Action are executed, you will see this on the Clipboard: | ||
+ | |||
+ | {{:manual:token-demo-display-clipboard.png?nolink|}} | ||
That's all you need for a great macro, which you can [[https://forum.keyboardmaestro.com/t/set-clipboard-to-markdown-link-of-frontmost-browser-wiki-example-macro-v9-0-1d2/15025|download from here]]. | That's all you need for a great macro, which you can [[https://forum.keyboardmaestro.com/t/set-clipboard-to-markdown-link-of-frontmost-browser-wiki-example-macro-v9-0-1d2/15025|download from here]]. |