User Tools

Site Tools


macros:function:menu.stack.pushorreloadmenu

Function

Menu.Stack.PushOrReloadMenu

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”).

Example in

ColourChaseChanger (old style):

  <step pause="0.001">Menu.Stack.PushOrReloadMenu("Primary", "Expert.Root.Program")</step>

This jumps back to the root menu.

Also used in
Remarks
You could leave a comment if you were logged in.
macros/function/menu.stack.pushorreloadmenu.txt · Last modified: 2017/11/22 10:04 by icke_siegen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki