getInterfaceLaunchType

Returns either 'menu' or 'toolbarButton' to indicate what type of object launched the custom interface.

Syntax

getInterfaceLaunchType(interfaceObject);

Parameters

  • interfaceObject - (Object) Object that launches the custom interface.

Returns

(string) Either 'menu' or 'toolbarButton' to indicate what type of object launched the custom interface.