Jump to content

Help with PixelGetColor


Recommended Posts

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

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...