Jump to content

Some help needed with PixelGetColor.


Recommended Posts

Guest BPCmusashi
Posted

Hello,

I was just wondering if there was a way to have PixelGetColor recognize when a color is not displayed, instead of the way it works normally.

something like:

IF PixelGetColor(135,128) {does not equal} 13408614 Then

MouseClick("Left",135,128,2,1)

ENDIF

I know the {does not equal} isn't valid, but thats what I need help on.^^

Any feedback would be highly appretiated. -thanks

Posted (edited)

If PixelGetColor(135,128) <> 13408614 Then
   MouseClick("Left",135,128,2,1)
EndIf

...

Edit: Look up operators in the help file.

Edited by Burrup

qq

Guest BPCmusashi
Posted

Thanks alot for your help, and a quick response. Ill definately read through that list of Operators.

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
×
×
  • Create New...