SandSeal Posted June 9, 2014 Share Posted June 9, 2014 I'm trying to check if this pixel is 0x2E9FA0 or not, then do something. but the problem is this pixel seems to change constantly(sometimes It become 0x2FA3A4 or something around this) thus making this code useless. $color5 = PixelGetColor( 1242 , 650 ) If $color5 <> dec("2E9FA0") Then Sleep( 2000 ) EndIf So, How can i make it more elastic like shade-variation in PixelSearch()? Link to comment Share on other sites More sharing options...
Bert Posted June 9, 2014 Share Posted June 9, 2014 Have you tried to simply hook into the control? MUCH more stable. You should NEVER use PixelSearch unless there is no choice. What is the name of the application? Odds are there is code already available in the forum. The Vollatran project My blog: http://www.vollysinterestingshit.com/ 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