MouseCoordMode

From AutoIt Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Part of [[AutoItSetOption]] function.

Overview

Sets the way coords are used in the mouse functions, either absolute coords or coords relative to the current active window

Syntax

AutoItSetOption("MouseCoordMode", value)

Value

0 = relative coords to the active window

1 = absolute screen coordinates (default)

2 = relative coords to the client area of the active window