This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
action:Execute_a_Macro [2015/01/13 03:54] peternlewis created |
action:Execute_a_Macro [2016/01/25 07:52] AlainLifchitz add result image |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | The Execute Macro action allows you to execute another macro like a subroutine. The sub-macro will be executed, and when it is finished, execution will continue on from after this action. | + | ====== Execute Macro From Another Macro ====== |
+ | |||
+ | |||
+ | The *Execute Macro* action allows you to execute another macro like a subroutine. The sub-macro will be executed, and when it is finished, execution will continue on from after this action. | ||
You can optionally configure the action to be *Asynchronous*, which means the sub-macro will be executed, and the current macro will continue on without waiting so that both macros will be executing at the same time. | You can optionally configure the action to be *Asynchronous*, which means the sub-macro will be executed, and the current macro will continue on without waiting so that both macros will be executing at the same time. | ||
+ | |||
+ | You can optionally configure a parameter for the executed macro which will be available via the %TriggerValue% token. | ||
+ | |||
+ | {{ :action:wiki-macro-minimal-160125.jpg?600 |}} | ||
+ | |||
+ | --- | ||
+ | |||
+ | {{ :action:wiki-macro-with-parameter-160124.jpg?600 |}} | ||
+ | |||
+ | --- | ||
+ | |||
+ | {{ :action:wiki-macro-minimal-result-160125.jpg?450 |}} | ||
+ | |||
+ | |||
+ | ExtraSearchTags: *Run Macro*, *Run a Macro*, *Call Macro*, *Sub Macro* |