Returns all menu item names in the specified menu.
Number | Type | Compulsory | Default | Description |
1 | string | Yes | Menu path | |
2 | string | No | Options |
Specifies the path for the menu as it would be provided to the command DefMenu but without the menu item name. For example, the command to define the command shell's New Schematic menu is similar to:
DefMenu "Shell|&File|&New Schematic" "NewSchem /ne"
Shell|&File is the menu path and this what the GetMenuItems function expects.
Can be set to 'recurse'. This instructs the function to recurse into sub-menus and list all menu definitions. The definitions are given as semi-colon delimited strings providing the menu accelerator (if present), a unique ID and the full path of the menu.
Return type: string array
Returns a string array listing all the menu item names.
GetMenuItems('Shell|&File')returns all the menu items in the command shell's File menu.
▲Function Summary▲ | ||
◄ GetMD5String | GetModelFiles ▶ |