Dafür gibt's ne extra AutoIT-Sektion...:
#Reported
@Topic:
Schau dir die Seite an:
Opt("MouseCoordMode", 1-3)
Opt("PixelCoordMode", 1-3)
PixelCoordMode Sets the way coords are used in the pixel functions, either absolute coords or coords relative to the window defined by hwnd (default active window):
0 = relative coords to the defined window
1 = absolute screen coordinates (default)
2 = relative coords to the client area of the defined window
MouseCoordMode Sets the way coords are used in the mouse functions, either absolute coords or coords relative to the current active window:
0 = relative coords to the active window
1 = absolute screen coordinates (default)
2 = relative coords to the client area of the active window
Lesen und denken und du hast es.