Jump to content

Need help with Pixel Colors


Recommended Posts

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...