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/ |
{{tag>set mobile wing page legend}}
This is a recorded macro.
==== functions ====
* [[:macros:function:Menu.Stack.PushOrReloadMenu]]
* [[:macros:function:Menu.InjectInput]]
===== Code =====
Set Mobile Wing Playback Page Legend
Menu.Stack.PushOrReloadMenu("Primary", "Expert.Root.Program")
Menu.InjectInput("OnSelect","Softkey","NoGroup",2)
Menu.InjectInput("OnButtonDown","MobileWingAPageSelect.0","MobileWingAPlaybacks",0)
Menu.InjectInput("OnButtonUp","MobileWingAPageSelect.0","MobileWingAPlaybacks",0)
Set Mobile Wing Executor Page Legend
Menu.Stack.PushOrReloadMenu("Primary", "Expert.Root.Program")
Menu.InjectInput("OnSelect","Softkey","NoGroup",2)
Menu.InjectInput("OnButtonDown","MobileWingAPageSelect.0","MobileWingAExecutor",0)
Menu.InjectInput("OnButtonUp","MobileWingAPageSelect.0","MobileWingAExecutor",0)
===== Explanation =====
This explains the functional steps within the sequence. For all the other XML details please refer to [[:macros:formats_and_syntax#xml_format|Formats and syntax]]
This macro mimicks these button presses
* [Set Leegend]
* (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 =====
* [[:macros:deploying|make this macro available]]
* fire the macro to open the prompt in order to set the legend for the current page on the Titan Mobile Wing
~~DISCUSSION~~