Example
by: | Alex del Bondio |
---|---|
published: | January 2019 |
description: | set release priority |
remarks: |
This selection of macros lets you change the release priority. These macros have Active Binding set so they will highlight and give visual feedback.
The code below is a snippet of the whole file which contains macros for all available release priorities.
<?xml version="1.0" encoding="utf-8"?> <avolites.macros> <macro id="adb.Macros.Release.High" name="adb Release Priority High"> <active binding="{propertyLink id='Playbacks.ReleasePriority' converter='Math.EnumAsStringEqualityConverter' converterParameter='HighPriority'}"/> <sequence> <step>ActionScript.SetProperty.Enum("Playbacks.ReleasePriority", "HighPriority")</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.ReleasePriority
is the property that defines the release priority and needs to be set via ActionScript.SetProperty.Enum
active binding
is used to highlight a macro when the corresponding property (propertyLink id
) matches the converterParameter
. A good starting point to understand active binding is either this wiki or this post in the Avo forum http://forum.avolites.com/viewtopic.php?f=20&t=5962