macros:example:changemobilewingpage
Table of Contents
Example
Pages - Change Titan Mobile Wing Page
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. |
functions
Code
- ChangeMobileWingPage.xml
<?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>
Explanation
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.
How to use it
- If you copy this macro to a hardware macro button this will vanish when changing its page. Consider setting its properties to Handle Paging Locked in playback options.
You could leave a comment if you were logged in.
macros/example/changemobilewingpage.txt · Last modified: 2019/04/27 19:33 by 127.0.0.1