Something like that .:
eg. PixelGetColor
It work!But I want the mouse to follow where the PixelColor is read.
It's not hard, if I only use the "Windows" coordinates - not the "Client" coordinates (to the active window)
Something like that .:
eg. MouseMove - PixelGetColor
The window is activated, and I got some colors, but can't see any mouse in movement on the active window...Is there a risk that the mouse cursor may interfere with PixelGetColor? (or ToolTip?)
Must the CoordMode be set all the time? (CoordMode Mouse ... / CordMode Pixel ...)
From the help file.:
Code: Select all
DllCall("SetCursorPos", int, 100, int, 400) ; The first number is the X-coordinate and the second is the Y (relative to the screen).