Jump to content
Sign in to follow this  
LunarX

Help with PixelGetColor

Recommended Posts

LunarX

Ermm im just trying to make it detect the pixels and then do things and stuff like that, but no matter how i change it, it won't work

Here's a part of it. I don't really get it, i change the Hex to RGB. Once i open the script it never do what it's suppose to. Well it winactives but then it wont do anything else

Func Restart()

$pixDet = PixelGetColor(708, 753)

If $pixDet <> 243208173 Then

Do

WinActivate ("**************")

MouseClick ( "Left", 1600, 847, 1, 1 ) ;Click "Refresh" Button

Sleep(30000)

$pixDet = PixelGetColor(708, 753)

Until $pixDet <> 255255255

Else

Call ("Login")

EndIf

EndFunc

EndFunc

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  

×