PixelGetColor - MouseMove - ClientWindow

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Albireo
Posts: 1756
Joined: 16 Oct 2013, 13:53

PixelGetColor - MouseMove - ClientWindow

14 Dec 2018, 09:52

My desire is to read the color in all pixels in a line on an open window.
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).
Moving the mouse with the instruction above, can it operate on the active windows coordinates? (or only the coordinates of the screen)

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 212 guests