-
Notifications
You must be signed in to change notification settings - Fork 113
Context menu commands
Command format:
ReturnType NameSpace.name(requiredParameters, [optionalParameters=defaultValue]);
-
ReturnType - the return value of the function (void - the function returns nothing);
-
NameSpace - the scope of the function;
-
name - the name of the function;
-
requiredParameters - required parameters;
-
optionalParameters - optional parameters, the default value is indicated after the = sign
Send a context menu request for given serial.
Add context menu wait hook.
-
serial - serial of context menu object. If serial equals 0, serial check will be ignored.
-
index - index of context menu choice, starting with 0.
Cancel all context menu hooks.
Awaits context menu for 'delay' amount of time in ms.
Returns true is context menu was received during this period.
Information about the latest context menu.
Add context menu wait hook.
-
serial - serial of context menu object. If serial equals 0, serial check will be ignored.
-
itemIndex - ID of the menu item (can be recognized by the InfoContextMenu function).
Add context menu wait hook.
-
serial - serial of context menu object. If serial equals 0, serial check will be ignored.
-
clilocID - Cliloc index whose text is displayed in the menu (can be found by the InfoContextMenu function).