macros:example:setplaybacklegend
This is an old revision of the document!
Table of Contents
Example
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 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Avolites.Menus.xsd"> <macro name="" id=""> <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 stringHandles.SetLegend()
applies this legend to the previously selected playbackHandles.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.1535282208.txt.gz · Last modified: 2018/08/26 11:16 by icke_siegen