AutoIt MouseCoordMode Option

Reference on the MouseCoordMode Option of AutoIt, and example of how to use it.

The AutoIt MouseCoordMode Option controls the coordinate system to be used, and can be set to either relative or absolute.

Note. Changing the value of this Option will effect Mouse operations, such as MouseClicks.

Possible Values

0Relative coordinates to the active window
1Absolute screen coordinates (default)
2Relative coordinates to the client area of the active window

How to change the MouseCoordMode

Simply place the below somewhere in your script.

Opt("MouseCoordMode", 1)

Post comment

Links that you insert are not nofollowed, but will be removed by admins if they are considered spam.

[url=Absolute URL for page]TITLE[/url]

You should insert code boxes around code examples, which will be automatically syntax highlighted.

[code1 html|css|javascript|php|sql]Your Code Here[/code1]

You may want to read our Privacy Policy before submitting your comment.