Method RightClick
Perform Right Click operation on the ObjectUsage
Function RightClick(
Integer X [Optional],
Integer Y [Optional],
Integer MsClickLength [Optional]
)
Parameters
X (optional)
Type: Integer
Default value: 0
Coordinate Offset
Y (optional)
Type: Integer
Default value: 0
Coordinate Offset
MsClickLength (optional)
Type: Integer
Default value: 0
How long to hold the mouse clicked in milliseconds
Returns
No return value
Example
VBScript
Application("Demo").View("DemoView").RightClick
'Set X and Y offsets
Application("Demo").View("DemoView").RightClick 100, 100
'Hold mouse clicked for 200 milliseconds
Application("Demo").View("DemoView").RightClick 100, 100, 200
JavaScript
Application("Demo").View("DemoView").RightClick();
// Set X and Y offsets
Application("Demo").View("DemoView").RightClick(100, 100);
// Hold mouse clicked for 200 milliseconds
Application("Demo").View("DemoView").RightClick(100, 100, 200);
Comment
Use default values