User Tools

Site Tools


macros:example:nudgemaster

Example

Masters - Nudge Master Up/Down

by: Alberto Faria Costa, May 2018
published: http://forum.avolites.com/viewtopic.php?f=3&p=20557
description: Macros to nudge a master up/down

functions

For the available master's handleIds see titanId

Code

nudgeratemaster.xml
<?xml version="1.0" encoding="utf-8"?>
<avolites.macros xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Avolites.Menus.xsd">
 
<!-- RATE MASTERS -->
<!-- Rate Grand Master: titanid=1604 -->
<!-- Rate Master 1: titanid=1608 -->
<!-- Rate Master 2: titanid=1612 -->
<!-- Rate Master 3: titanid=1616 -->
<!-- Rate Master 4: titanid=1620 -->
<!-- http://www.avolites.de/wiki/macros:types:object:handle:titanid -->
<!-- Created by: Alberto Faria Costa -->
 
 
  <macro id="Avolites.Macros.RateMasterNudgeUp" name="RATE MASTER UP">
    <sequence>
     <step>Masters.NudgeUp(1604)</step>
   </sequence>
 </macro>
 
  <macro id="Avolites.Macros.RateMasterNudgeDown" name="RATE MASTER DOWN">
    <sequence>
    <step>Masters.NudgeDown(1604)</step>
   </sequence>
 </macro>
 
 <!-- add macros for the other masters here ... -->
 
 
 
  </avolites.macros>

Explanation

This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax

The functions Masters.NudgeUp() and Masters.NudgeDown() are called for a specific master, identified by its titanId.

How to use it

You could leave a comment if you were logged in.
macros/example/nudgemaster.txt · Last modified: 2019/04/27 13:04 by sideshowbond