User Tools

Site Tools


macros:example:setmobilewingpagelegend

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

macros:example:setmobilewingpagelegend [2019/03/20 09:07] (current)
icke_siegen created
Line 1: Line 1:
 +Example
  
 +====== 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 =====
 +<code xml SetWingPageLegend.xml>​
 +<?xml version="​1.0"​ encoding="​utf-8"?>​
 +<​avolites.macros>​
 +  <macro id="​UserMacro.MobileWingLegend">​
 +    <​name>​Set Mobile Wing 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>​
 +</​avolites.macros>​
 +</​code>​
 +
 +
 +===== 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] ​
 +  * <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 siumaltor and Titan One in order to set the legends :-).
 +
 +===== 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~~
macros/example/setmobilewingpagelegend.txt ยท Last modified: 2019/03/20 09:07 by icke_siegen