User Tools

Site Tools


macros:example:togglepagetemp

Differences

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

Link to this comparison view

Next revision
Previous revision
macros:example:togglepagetemp [2022/11/15 12:40] – created icke_siegenmacros:example:togglepagetemp [2022/11/15 14:32] (current) – external edit 127.0.0.1
Line 24: Line 24:
    
 ===== Code ===== ===== Code =====
-<code xml filename.xml>+<code xml toggleWindowPages.xml>
 <?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
 <avolites.macros>  <avolites.macros> 
Line 60: Line 60:
 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 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]]
  
-  * upon pressing the button this macro is assigned to a specific window is toggled to its next page:+  * upon pressing the button this macro is assigned to a specific window is toggled to its next page:\\ ''Handles.Colours.ChangePage(Handles.Colours.Page.Index + 1)'' 
 +  * when the button is released the window returns to its previous page:\\ ''Handles.Colours.ChangePage(Handles.Colours.Page.Index - 1)''
  
 ===== How to use it ===== ===== How to use it =====
  
   - [[:macros:deploying|make this macro available]]   - [[:macros:deploying|make this macro available]]
- +  - the start/end syntax works in newer software (from Titan 12 or so) 
-tbd+  - the macro needs to be **moved to a physical button**: copying it would strip parts of the syntax, and since Titan doesn't support multitouch you need a hardware button
  
  
 ~~DISCUSSION~~ ~~DISCUSSION~~
macros/example/togglepagetemp.1668516013.txt.gz · Last modified: 2022/11/15 12:40 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki