Function
Void Menu.Stack.PushOrReloadMenu(String stackId, String menuId)
API | http://api.avolites.com/10.1/Menu.Stack.PushOrReloadMenu.html |
---|---|
description | Pushes a menu on a specific stack. |
namespace | Menu.Stack |
parameter | stackId( String ) : The stack id. |
menuId ( String ) : The menu id. | |
return value | Void |
The menus inside Titan are stacked. This function makes sure you are in a specific menu. Thus most recorded macros automatically start with something like Menu.Stack.PushOrReloadMenu(“Primary”, “Expert.Root.Program”)
.
ColourChaseChanger (old style):
<step pause="0.001">Menu.Stack.PushOrReloadMenu("Primary", "Expert.Root.Program")</step>
This jumps back to the root menu.