Example
| 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: | 
<?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>
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 stringHandles.SetLegend() applies this legend to the previously selected playbackHandles.ClearSelection() unselects the playback handle.