Example
by: | Sebastian Beutel, February 2022 |
---|---|
published: | here |
description: | set a playback's priority |
remarks: | idea: https://www.facebook.com/groups/Avolites/posts/2423569344441952?comment_id=2423573241108229&reply_comment_id=2423589471106606 |
<?xml version="1.0" encoding="utf-8"?> <avolites.macros"> <macro name="PB 100 VeryHighPriority" id="Wiki.Macros.PB100.VeryHighPriority"> <sequence> <step>Playbacks.Select.EditHandle("playbackHandleUN=100")</step> <step>ActionScript.SetProperty.Enum("HandleOptions.Playbacks.Priority","MaximumPriority")</step> </sequence> </macro> <macro name="PB 100 HighPriority" id="Wiki.Macros.PB100.HighPriority"> <sequence> <step>Playbacks.Select.EditHandle("playbackHandleUN=100")</step> <step>ActionScript.SetProperty.Enum("HandleOptions.Playbacks.Priority","HighPriority")</step> </sequence> </macro> <macro name="PB 100 NormalPriority" id="Wiki.Macros.PB100.NormalPriority"> <sequence> <step>Playbacks.Select.EditHandle("playbackHandleUN=100")</step> <step>ActionScript.SetProperty.Enum("HandleOptions.Playbacks.Priority","MediumPriority")</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
Playbacks.Select.EditHandle
selects a specific handle (here: by its userNumber)ActionScript.SetProperty.Enum(“HandleOptions.Playbacks.Priority”,…)
sets the selected playback's priority