User Tools

Site Tools


macros:example:setmobilewingpagelegend

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

  • [Set Leegend]
  • <Go Page> (on Titan Mobile Fader Wing

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

  • fire the macro to open the prompt in order to set the legend for the current page on the Titan Mobile Wing
You could leave a comment if you were logged in.
macros/example/setmobilewingpagelegend.txt · Last modified: 2020/03/27 08:17 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki