User Tools

Site Tools


macros:example:flashpbgroups

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
macros:example:flashpbgroups [2021/07/22 14:22] – created icke_siegenmacros:example:flashpbgroups [2021/07/22 14:34] (current) – external edit 127.0.0.1
Line 13: Line 13:
   * [[:macros:function:Playbacks.FlashPlayback]]   * [[:macros:function:Playbacks.FlashPlayback]]
   * [[:macros:function:Group.FlashFader]]   * [[:macros:function:Group.FlashFader]]
 +  * [[:macros:function:Playbacks.ClearFlashPlayback]]
  
 ==== specials ==== ==== specials ====
-  * [[:macros/syntax/startend|]]+  * [[:macros/syntax/start_end|]]
    
 ===== Code ===== ===== Code =====
Line 31: Line 32:
     <start>     <start>
       <step>Playbacks.FlashPlayback("cueHandleUN=5")</step>       <step>Playbacks.FlashPlayback("cueHandleUN=5")</step>
-   <step>Group.FlashFader(userNumber:17, true)</step> +      <step>Group.FlashFader(userNumber:17, true)</step> 
-   <step>Group.FlashFader(userNumber:18, true)</step> +      <step>Group.FlashFader(userNumber:18, true)</step> 
-   <step>Group.FlashFader(userNumber:19, true)</step> +      <step>Group.FlashFader(userNumber:19, true)</step> 
-   <step>Group.FlashFader(userNumber:20, true)</step>+      <step>Group.FlashFader(userNumber:20, true)</step>
     </start>     </start>
     <end>     <end>
       <step>Playbacks.ClearFlashPlayback("cueHandleUN=5")</step>       <step>Playbacks.ClearFlashPlayback("cueHandleUN=5")</step>
-   <step>Group.FlashFader(userNumber:17, false)</step> +      <step>Group.FlashFader(userNumber:17, false)</step> 
-   <step>Group.FlashFader(userNumber:18, false)</step> +      <step>Group.FlashFader(userNumber:18, false)</step> 
-   <step>Group.FlashFader(userNumber:19, false)</step> +      <step>Group.FlashFader(userNumber:19, false)</step> 
-   <step>Group.FlashFader(userNumber:20, false)</step>+      <step>Group.FlashFader(userNumber:20, false)</step>
     </end>     </end>
   </macro>   </macro>
Line 52: Line 53:
 This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|Formats and syntax]] This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|Formats and syntax]]
  
-tbd+The real interesting thing here is the double action per macro button: 
 +  * the ''<start>'' section is performed when the button is pressed 
 +    * ''Playbacks.FlashPlayback()'' flashes a particular playback (here identified by its user number) 
 +    * ''Group.FlashFader(...,**true**)'' flashes a particular playback group's fader (also identified by its user number) 
 +  * the ''<end>'' section is performed when the button is relesed (let go)  
 +    * ''Playbacks.ClearFlashPlayback()'' unflashes a particular previously flashed playback (here identified by its user number) 
 +    * ''Group.FlashFader(...,**false**)'' unflashes a particular playback group's fader (also identified by its user number)
  
 ===== How to use it ===== ===== How to use it =====
Line 58: Line 65:
   - [[:macros:deploying|make this macro available]]   - [[:macros:deploying|make this macro available]]
  
-tbd+This was created for a particular show which was triggered remotely, and thus required these flash/unflash actions.
  
  
 ~~DISCUSSION~~ ~~DISCUSSION~~
macros/example/flashpbgroups.1626963732.txt.gz · Last modified: 2021/07/22 14:22 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki