User Tools

Site Tools


macros:example:releasepriority

Example

Release - Release Priority

by: Alex del Bondio
published: January 2019
description: set release priority
remarks:

adb_release_priority.xml

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.

affected properties

Code

releasepriority.xml
<?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>

Explanation

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

How to use it

You could leave a comment if you were logged in.
macros/example/releasepriority.txt · Last modified: 2019/05/05 14:10 by icke_siegen