Jump to content
Sign in to follow this  

problem with PixelGetColor in a loop

Recommended Posts



I am looking for an event to finish. In order to do this I check when a button changes color:

While PixelGetColor(207,326)<> 0x555D72

For some reason autoit sometimes (in about 1/100 cases) gets stuck in this loop. The button obviously changes color but autoit refuses to leave the while loop.

I would really appreciate any input.



Share this post

Link to post
Share on other sites

Can you please post your code, or a screenshot of the window and the button you're trying to focus in on? The more info you can provide, the better we are able to assist.

√-1 2^3 ∑ π, and it was delicious!

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.