Example
by: | Sebastian Beutel, Nov. 2022 |
---|---|
published: | here |
description: | temporarily toggles a window's page and returns |
remarks: | idea: shannon Asher, https://www.facebook.com/groups/Avolites/posts/2664983363633881/ |
This needs to be moved onto a hardware button as Titan doesn't support multitouch. Then, as long as this button is held down, a window is toggled to its next page.
<?xml version="1.0" encoding="utf-8"?> <avolites.macros> <!-- https://www.facebook.com/groups/Avolites/posts/2664983363633881/ --> <!-- idea by Shannon Asher --> <!-- toggle workspace window pages while a button is held --> <macro id="Wiki.Macros.Toggle.Colours" name="Toggle Colours Window Page"> <description>Toggle Colours Window</description> <start> <step>Handles.Colours.ChangePage(Handles.Colours.Page.Index + 1)</step> </start> <end> <step>Handles.Colours.ChangePage(Handles.Colours.Page.Index - 1)</step> </end> </macro> <macro id="Wiki.Macros.Toggle.PlaybackWindow" name="Toggle PlaybackWindow Page"> <description>Toggle PlaybackWindow</description> <start> <step>Handles.PlaybackWindow.ChangePage(Handles.PlaybackWindow.Page.Index + 1)</step> </start> <end> <step>Handles.PlaybackWindow.ChangePage(Handles.PlaybackWindow.Page.Index - 1)</step> </end> </macro> </avolites.macros>
This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax
Handles.Colours.ChangePage(Handles.Colours.Page.Index + 1)
Handles.Colours.ChangePage(Handles.Colours.Page.Index - 1)