Example
by: | Sebastian Beutel, Oct. 2018 |
---|---|
published: | Oct 2018 |
description: | Macros to change page of the Titan Mobile Faderwing |
remarks: | useful with the simulator as this lacks the ability to change the pages in the Mobile Wing window. |
<?xml version="1.0" encoding="utf-8"?> <avolites.macros> <macro id="Avolites.MobileWing.Playbacks.ChangeToPage1" name="Mobile Wing Playbacks Page 1"> <description>Changes the Mobile Wing playbacks page to page 1.</description> <sequence> <step>Handles.MobileWingAPlaybacks.ChangePage(0)</step> </sequence> </macro> <macro id="Avolites.MobileWing.Playbacks.ChangeToPage2" name="Mobile Wing Playbacks Page 2"> <description>Changes the Mobile Wing playbacks page to page 2.</description> <sequence> <step>Handles.MobileWingAPlaybacks.ChangePage(1)</step> </sequence> </macro> <macro id="Avolites.MobileWing.Playbacks.ChangeToPage3" name="Mobile Wing Playbacks Page 3"> <description>Changes the Mobile Wing playbacks page to page 3.</description> <sequence> <step>Handles.MobileWingAPlaybacks.ChangePage(2)</step> </sequence> </macro> <macro id="Avolites.MobileWing.Playbacks.ChangeToPage4" name="Mobile Wing Playbacks Page 4"> <description>Changes the Mobile Wing playbacks page to page 4.</description> <sequence> <step>Handles.MobileWingAPlaybacks.ChangePage(3)</step> </sequence> </macro> <macro id="Avolites.MobileWing.Playbacks.PreviousPage" name="Mobile Wing Playbacks Page -1"> <description>Changes the Mobile Wing playbacks to the previous page.</description> <sequence> <step>Handles.MobileWingAPlaybacks.PreviousPage()</step> </sequence> </macro> <macro id="Avolites.MobileWing.Playbacks.NextPage" name="Mobile Wing Playbacks Page +1"> <description>Changes the Mobile Wing playbacks to the next page.</description> <sequence> <step>Handles.MobileWingAPlaybacks.NextPage()</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
Each macro simply calls a specific ChangePage() function with the index of the designated page.