User Tools

Site Tools


macros:example:setmeatfull

Differences

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

Link to this comparison view

macros:example:setmeatfull [2020/03/07 10:04] (current)
sideshowbond created
Line 1: Line 1:
 +Example
  
 +====== Cuelist - Set Me At Full ======
 +
 +^ by: | Alex del Bondio, Mar 2020 |
 +^ published: | here |
 +^ description:​ | automatically pull the cuelist fader at 100% |
 +
 +{{tag>go cuelist cue}}
 +
 +This macro wil put the fader of a cuelist to full regardless of its previous position.
 +
 +==== functions ====
 +  * [[:​macros:​function:​Playbacks.SetPlaybackLevel]]
 +
 +===== Code =====
 +<code xml setmeatff.xml>​
 +<?xml version="​1.0"​ encoding="​utf-8"?>​
 +<​avolites.macros>​
 +
 +  <macro id="​adb.macros.SetMeAtFF"​ name="​Set Me @ FF">​
 +    <​sequence>​
 +      <​step>​Playbacks.SetPlaybackLevel(this,​ level:​1)</​step>​
 +    </​sequence>​
 +  </​macro>​
 +
 +</​avolites.macros>​
 +</​code>​
 +
 +
 +===== Explanation =====
 +
 +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]]
 +
 +  * ''​Playbacks.SetPlaybackLevel''​ sets a playback to a certain level
 +  * ''​(this,​ level:​1)''​ references to the cuelist the macro is triggered from and determines the level to set the fader to (1=100%)
 +
 +===== How to use it =====
 +
 +  - [[:​macros:​deploying|make this macro available]]
 +
 +
 +~~DISCUSSION~~
macros/example/setmeatfull.txt ยท Last modified: 2020/03/07 10:04 by sideshowbond