right, click, mouse, button, view, mousedown, scriptless, script-less, scripted, step, view, stepview

Method RightClick

Perform Right Click operation on the Object

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function RightClick( 
    Integer X [Optional],
    Integer Y [Optional],
    Integer MsClickLength [Optional]
)

Step

RightClick

10

10

500

X

Y

Integer MsClickLength

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

Step

RightClick

Comment

Set optional parameters

Step

RightClick

10

10

500

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227