Switching Between Two Pages Using a Single Switch
You can use variables to switch between the pages of your macro page.
Prerequisite
-
You have created a Stack element that contains two groups, one for each page.
-
You have added a Variables folder to your macro page.
Procedure
- In the GUI Tree, right-click the Variables folder and select .
- In the Properties section, name it pages.
- Set Minimum to 0 and Maximum to 1.
- Add an on/off switch to the macro page.
-
For both the switch and the stack, set Value to @pages.
This connects the two values.
Result
You can now switch between the two pages using the on/off switch.