User Tools

Site Tools


macros:example:releasepriority

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
macros:example:releasepriority [2019/01/05 00:58] – created sideshowbondmacros:example:releasepriority [2019/05/05 12:10] (current) icke_siegen
Line 24: Line 24:
 <code xml releasepriority.xml> <code xml releasepriority.xml>
 <?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
-<avolites.macros xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Avolites.Menus.xsd">+<avolites.macros>
  
-  <macro id="adb.Macros.Release.High" name="adb Release Priority High"> +  <macro id="adb.Macros.Release.High" name="adb Release Priority High"> 
-     <active binding="{propertyLink id='Playbacks.ReleasePriority' converter='Math.EnumAsStringEqualityConverter' converterParameter='HighPriority'}"/> +    <active binding="{propertyLink id='Playbacks.ReleasePriority'  
-     <sequence> +      converter='Math.EnumAsStringEqualityConverter'  
- <step>ActionScript.SetProperty.Enum("Playbacks.ReleasePriority", "HighPriority")</step> +      converterParameter='HighPriority'}"/> 
-     </sequence> +    <sequence> 
- </macro>+      <step>ActionScript.SetProperty.Enum("Playbacks.ReleasePriority", "HighPriority")</step> 
 +    </sequence> 
 +  </macro>
  
 </avolites.macros> </avolites.macros>
Line 42: Line 44:
 This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|Formats and syntax]] This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|Formats and syntax]]
  
-  * ''Playbacks.ReleasePriority'' is the property that defines the release priority and needs to be set via ''ActionScript.SetProperty''+  * ''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]]   * ''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]]
  
macros/example/releasepriority.1546649910.txt.gz · Last modified: 2019/01/05 00:58 by sideshowbond

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki