macros:example:cuelistsetffq
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
macros:example:cuelistsetffq [2021/06/11 11:07] – created icke_siegen | macros:example:cuelistsetffq [2021/06/11 11:45] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 9: | Line 9: | ||
{{tag> | {{tag> | ||
+ | |||
+ | This example shows how to select playbacks, how to set their options, and how to reference macros in other macros. | ||
==== functions ==== | ==== functions ==== | ||
- | * [[: | + | * [[: |
- | * [[: | + | * [[: |
- | * [[: | + | * [[: |
- | * [[: | + | * [[: |
+ | * [[: | ||
+ | * [[: | ||
+ | * [[: | ||
==== affected properties ==== | ==== affected properties ==== | ||
- | * [[: | + | * [[: |
- | * [[: | + | |
==== control structures ==== | ==== control structures ==== | ||
- | * [[macros:control_structures|step condition]] | + | * [[macros:step_pause|]] |
- | + | ||
+ | Tests showed that these macros require a step_pause to function properly. | ||
===== Code ===== | ===== Code ===== | ||
<code xml SetCuelistOptionFFQ.xml> | <code xml SetCuelistOptionFFQ.xml> | ||
Line 69: | Line 75: | ||
<!-- that's why here it is set the other way before the range is set as intended --> | <!-- that's why here it is set the other way before the range is set as intended --> | ||
| | ||
- | <macro id=" | + | <macro id=" |
< | < | ||
<step pause=" | <step pause=" | ||
Line 78: | Line 84: | ||
</ | </ | ||
- | <macro id=" | + | <macro id=" |
< | < | ||
<step pause=" | <step pause=" | ||
Line 95: | Line 101: | ||
This explains the functional steps within the sequence. For all the other XML details please refer to [[: | This explains the functional steps within the sequence. For all the other XML details please refer to [[: | ||
- | tbd | + | Note that this is an example for reusing code by referencing other macros. Of course this works only if the correct MacroIds are used: the first two macros do the real work - the other macros just select the very playback or cuelist and then call the work macros. |
+ | |||
+ | **Please note that these macros require a certain step_pause in order to function properly.** | ||
+ | |||
+ | The ' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | The select macros: | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | For ranges of playbacks something special needs to be taken into account: tests revealed that setting an option for a range works only if the first item needs to be toggled, i.e. wouldn' | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
===== How to use it ===== | ===== How to use it ===== | ||
- [[: | - [[: | ||
- | + | - fire the ' | |
- | tbd | + | |
~~DISCUSSION~~ | ~~DISCUSSION~~ |
macros/example/cuelistsetffq.1623409627.txt.gz · Last modified: 2021/06/11 11:07 (external edit)