codemonkey17 Posted October 7, 2014 Share Posted October 7, 2014 Hi, 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 Sleep(500) WEnd 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. Thanks! Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted October 7, 2014 Moderators Share Posted October 7, 2014 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. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now