getInterfaceEnabled

Returns true if the menu, menu item, or toolbar button that launches the custom interface is visible, or false if it is hidden.

Syntax

getInterfaceEnabled(interfaceObject, menuItem);

Parameters

  • interfaceObject - (Object) Object that launches the custom interface.
  • menuItem - (string) (Optional) The unique identifier (name) of a menu item. If not specified, the method returns whether or not the menu or the toolbar button is enabled.

Returns

(boolean) True if the menu, menu item, or toolbar button that launches the custom interface is enabled, or false if it is hidden.