Move mouse cursor

Move the mouse cursor to a specific position, window or monitor.

Arguments

position — Position

Coordinates where the mouse cursor should be placed. Accepts absolute units (pixels) or relative units (percent). In case of relative units, they are measured relative to either the entire desktop, the selected monitor or the selected window.

monitor — Monitor

The monitor to place the mouse cursor relative to.

window — Window

The window to place the mouse cursor relative to. Defaults to no window. Find windows by searching for the process name, window class and window title. All parts support wildcards or regular expressions. When setting up this command in the user interface, a nice editor is provided for the separate parts. When searching from the command line, the syntax is: \[process name]\[window class]\[window title]. All parts are optional, meaning you can use "\\\Untitled - Notepad" to find the window with that title. Wildcards are supported for each part. You can use regular expressions by surrounding the part with forwards slashes: "\\\/.* - Notepad/" will find any Notepad window, and is equivalent to "\\\* - Notepad".