Jump to content
Sign in to follow this  

PixelGetColor Help

Recommended Posts



I have a script running using ControlSend and ControlClick, however the window it is using does not have any Control IDs, so it is using the title of the window - which is working fine.

The problem I have is trying to get the colour of the pixels using the coords of the window when it is not focused. I thought about not having the window minimized at all, and just moving the window 5000 x-pixels to the left, i.e. The window being at -5000, 0. The ControlSend and ControlClick still work accordingly, but now the PixelGetColor always returns 0xFFFFFF because it is not in the monitor region - which I have already read happens in another post.

Is there a way around this?

Many thanks,


Edited by AshleyS

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.