kevr0 Posted April 17, 2010 Posted April 17, 2010 I'm trying to figure out how to do this properly. Basically, I have a script to perform a task after executing a pixel search; this repeats over and over. After the third time completing the task I want it to send("dance") and then restart the pixel search process.
Makaule Posted April 17, 2010 Posted April 17, 2010 You could use something like this: Global $var = 0 While 1 [Your actions] If [something] Then $var += 1 If $var = 3 Then $var = 0 Send("Dance") EndIf WEnd
kevr0 Posted April 20, 2010 Author Posted April 20, 2010 Thanks! I didn't realize how simple but complex autoit can be.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now