getInterfaceMenuItems

Returns an array containing the names of the menu items within a menu.

Syntax

getInterfaceMenuItems(interfaceObject);

Parameters

  • interfaceObject - (Object) Object that launches the custom interface. The method throws an exception if interfaceObject is not a menu object.

Returns

(array of strings) The names of the menu items within a menu.