macros:example:setplaybacklegend
                Table of Contents
Example
Legend - Set a playback's legend
| by: | Kim Wida/Gregory Haynes, Feb 2018 | 
|---|---|
| published: | http://forum.avolites.com/viewtopic.php?f=20&t=5576 | 
| description: | Set a playback's legend | 
| remarks: | 
functions
properties
- Handles.SourceHandle (Implicitely used.)
Code
- setPlaybackLegend.xml
- <?xml version="1.0" encoding="utf-8"?> <avolites.macros> <macro name="Set Chase 10555 legend" id="Macros.SetChaseLegend"> <description></description> <sequence> <step>Handles.SetSourceHandleFromHandle("chaseHandleUN=10555")</step> <step>ActionScript.SetProperty("Handles.PendingLegend", "Test")</step> <step>Handles.SetLegend()</step> <step>Handles.ClearSelection()</step> </sequence> </macro> </avolites.macros> 
Explanation
This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax
This is an example of how to set a playback's legend. (There is another example for setting a playback cue's legend).
- Handles.SetSourceHandleFromHandle(“chaseHandleUN=10555”)selects a specific handle to set its legend.
- ActionScript.SetProperty(“Handles.PendingLegend”, “Test”)sets the general property 'Handles.PendingLegend' to a specific string
- Handles.SetLegend()applies this legend to the previously selected playback
- Handles.ClearSelection()unselects the playback handle.
How to use it
- edit to meet your needs (or set a chaser to userNumber 10555) and make this macro available
- call this macro to set this playback's legend. Most likely you will use this for other purposes.
                You could leave a comment if you were logged in.            
            
                    
                                    macros/example/setplaybacklegend.txt · Last modified: 2019/04/27 11:29 by 127.0.0.1
                
                