mouse, click, clicks, mousebutton, enter, scriptless, script-less, scripted, step, view, stepview

Method Click

Performs mouse click operation on a specific object

Watch this video to learn how to use this method

Have a problem with playback?

Usage

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

Step

Click

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

Interval in milliseconds to hold mouse clicked

Returns

No return value

Example

VBScript

Application("Demo").View("DemoView").Object("DemoObject").Click
'or if you need to set coordinate offset and/or hold mouse clicked, use optional parameters 
Application("Demo").View("DemoView").Object("DemoObject").Click 10, 10, 500

JavaScript

Application("Demo").View("DemoView").Object("DemoObject").Click();
// or if you need to set coordinate offset and/or hold mouse clicked, use optional parameters 
Application("Demo").View("DemoView").Object("DemoObject").Click(10, 10, 500);

Comment

Use default values

Step

Click

Comment

Set optional parameters

Step

Click

10

10

500

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227