Table of Contents

Example

Legend - Set Mobile Wing Page Legend

by: Sebastian Beutel, March 2019
published: here
description: recorded macro to set the page legend for the Titan Mobile Faderwing
remarks: idea: https://www.facebook.com/groups/Avolites/permalink/1484208905044672/

This is a recorded macro.

functions

Code

SetWingPageLegend.xml
<?xml version="1.0" encoding="utf-8"?>
<avolites.macros>
 
  <macro id="UserMacro.MobileWingPBLegend">
    <name>Set Mobile Wing Playback Page Legend</name>
    <sequence>
      <step pause="0.001">Menu.Stack.PushOrReloadMenu("Primary", "Expert.Root.Program")</step>
      <step pause="0.001">Menu.InjectInput("OnSelect","Softkey","NoGroup",2)</step>
      <step pause="0.001">Menu.InjectInput("OnButtonDown","MobileWingAPageSelect.0","MobileWingAPlaybacks",0)</step>
      <step pause="0.001">Menu.InjectInput("OnButtonUp","MobileWingAPageSelect.0","MobileWingAPlaybacks",0)</step>
    </sequence>
  </macro>
 
  <macro id="UserMacro.MobileWingExecLegend">
    <name>Set Mobile Wing Executor Page Legend</name>
    <sequence>
      <step pause="0.001">Menu.Stack.PushOrReloadMenu("Primary", "Expert.Root.Program")</step>
      <step pause="0.001">Menu.InjectInput("OnSelect","Softkey","NoGroup",2)</step>
      <step pause="0.001">Menu.InjectInput("OnButtonDown","MobileWingAPageSelect.0","MobileWingAExecutor",0)</step>
      <step pause="0.001">Menu.InjectInput("OnButtonUp","MobileWingAPageSelect.0","MobileWingAExecutor",0)</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

This macro mimicks these button presses

It can be used to set the page legends even without the wing connected. Works even in the simulator and Titan One in order to set the legends :-).

Update March 2020: renamed macro to indicate that it affects the Playback (Fader) page, and added another macro to set the Executor page legend.

How to use it