Commands & Syntax > Commands > Mouse Commands >

COORDINATES - < mousemove_relative_pos > ... [Free]

www.perfectkeyboard.com

 

Mouse COORDINATES
<mousemove_relative_pos>
Available in: Free edition

Changes "mouse move" command behavior so that "mouse move" coordinates are relative to current mouse position.

 

 

Example (Macro Steps):

 

1

<#> <#> This macro moves the mouse cursor to position (100,100)

2

<#> <#> and than - after 2 seconds - to position (-10, -10) relative to

3

<#> <#> position (100, 100)

4

Macro execution: ONLY COMMANDS

5

Mouse MOVE position [ x=100, y=100 ]

6

WAIT wait "2000" ms (time is constant: "")

7

Mouse COORDINATES are now RELATIVE to current MOUSE position

8

Mouse MOVE position [ x=-10, y=-10 ]

Example (Plain Text):

 

<#> This macro moves the mouse cursor to position (100,100)

<#> and than - after 2 seconds - to position (-10, -10) relative to

<#> position (100, 100)

<cmds>

<mm>(100,100)

<wx>(2000)

<mousemove_relative_pos>

<mm>(-10,-10)