I'm having a problem with GetPixelColor ...
I have a program that waits for a Pixelcolor at X,Y coord's.
If color exists, it continues the macro
If color doesn't exist, it waits ...
It all works fine IF i first
a) SetFocus>Window title
b) MoveWindow>Window Title,0,0
How can i make it look for a PixelColor relevant to a window?
So the window doesn't have to be moved to 0,0 first.
Is there any GetPixelColorRel command or similar?
Thanks,
Ken Jensen
Mobile Computer Services
Problem with GetPixelColor
Moderators: JRL, Dorian (MJT support)
Hi,
You can easily calculate the relative position by using GetActiveWindow to return the X,Y pos of the window itself. Now you can add the relative position to these to get the absolute screen position.
You can easily calculate the relative position by using GetActiveWindow to return the X,Y pos of the window itself. Now you can add the relative position to these to get the absolute screen position.
MJT Net Support
[email protected]
[email protected]