Jump to content

Need a little help with a command line


Recommended Posts

Hey guys, I know what I am trying to get autoit to do, just now sure how I want it to do it...

I want it to stand by mid script until the color of a box goes back to normal, I have pre set normal in the script, but im having a hard time telling it to "wait" until the box goes back to normal:

Do

Sleep ( 1000 )

Until $coord = PixelSearch( $res19, $res20, $res19, $res20, $var2 ) not @error

when I try

Do

Sleep ( 1000 )

Until $coord = PixelSearch( $res19, $res20, $res19, $res20, $var2 )is not @error

it kicks back an error.

Any advice?

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