Jump to content

Help with WhileLoop

Recommended Posts

I was looking in help file and i saw that the WhileLoop continues until the expression is false. Is there a way to make the WhileLoop run until the expression is true?

Example, I want it to continuously PixelSearch in the same spot and once the color appears then in clicks and ends the while loop and continues on with the rest of the code.


Any help is appreciated.


Link to comment
Share on other sites

  • Developers

That question doesn't make sense as it is what it is and all you need to do is change the condition so it will be reversed. Post a test code when you want an exact solution.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
Live for the present,
Dream of the future,
Learn from the past.

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...