Jump to content
Sign in to follow this  
rakarna

need help with If

Recommended Posts

rakarna

Hello

i have a questen with a if problem. i want my script to do the IF thing over and over agen until it found that colur that i want it to found.

herese the code

If PixelGetColor(377, 418) = 0x627FB6 Then

MsgBox(1,"Hello",";)")

EndIf

sorry for bad english

Share this post


Link to post
Share on other sites
Tvern

Hello

i have a questen with a if problem. i want my script to do the IF thing over and over agen until it found that colur that i want it to found.

herese the code

sorry for bad english

You're looking for a loop.

Share this post


Link to post
Share on other sites
rakarna

You're looking for a loop.

ye but if i take the Do...until loop how can i get it to do it until it's get the right colur? ;)

Share this post


Link to post
Share on other sites
rakarna

it okey now i got it to work thanks for the help any way ;)

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.