Class Menu : getMenu Method


Menu getMenu( String menuName )

Summary

Get a submenu from a Menu


Parameters

ParameterDescription
String menuName Name of the menu to find


Returns

The sub-menu, or null if the menu could not be found.


Examples

var menuMain = app.getMainMenu();
var menuTools = menuMain.getMenu( "&Tools" );
if( !menuTools )
{
menuTools = menuMain.insertMenu( "&Tools" );
}


Requirements

build 1065