Jump to content

Recommended Posts

Posted

Nope i got it now, now im having the trouble of when i click the X ($GUI_EVENT_CLOSE) it doesen't work because of the Do/Until loop, i added in

If $msg = $GUI_EVENT_CLOSE Then
Exit
EndIf

Thats added inside the DO loops, but it still wont work....

Any Suggestions?

Posted

Try this :

Do
Sleep(10)

$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then Exit

Until PixelGetColor( 15, 15) = Hex(255255255,6)

Good luck !

Posted

What is that Hex(255255255,6) ?

It seems you wanted the pure white in a quite original way... LOL.

I guess you meant

Hex(16777215,6)

In fact 255255255 is F36E2D7 in hex that have a digit more than 6... This is crazy!

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