mouse, move, mousemove, event, drag, scriptless, script-less, scripted, step, view, stepview

Method MouseMove

Moves the mouse cursor to the object's location or X,Y coordinates

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function MouseMove( 
        Integer X [Optional], 
        Integer Y [Optional],
        Integer MsSpeed [Optional],
        Boolean Report [Optional]
)

Step

MouseMove

100

100

500

true

X

Y

MsSpeed

Report

Parameters

X

Type: Integer

Default value: -1

X coordinate where to move the mouse (relative to the object's location)

Y

Type: Integer

Default value: -1

Y coordinate where to move the mouse (relative to the object's location)

MsSpeed

Type: Integer

Default value: 1000

How fast to move the mouse

Report

Type: Boolean

Default value: True

Add this step to the Results

Returns

No return value

Example

VBScript

Application("Demo").View("DemoView").Object("DemoObject").MouseMove
'Set X and Y coordinates
Application("Demo").View("DemoView").Object("DemoObject").MouseMove 100, 100
'Set movement speed
Application("Demo").View("DemoView").Object("DemoObject").MouseMove 100, 100, 500
'Remove this step from report
Application("Demo").View("DemoView").Object("DemoObject").MouseMove 100, 100, 500, false

JavaScript

Application("Demo").View("DemoView").Object("DemoObject").MouseMove();
// Set X and Y coordinates
Application("Demo").View("DemoView").Object("DemoObject").MouseMove(100, 100);
// Set movement speed
Application("Demo").View("DemoView").Object("DemoObject").MouseMove(100, 100, 500);
// Remove this step from report
Application("Demo").View("DemoView").Object("DemoObject").MouseMove(100, 100, 500, false);

Comment

Use default values

Step

MouseMove

Comment

Set optional parameters

Step

MouseMove

100

100

500

false

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227