darek Posted January 28, 2021 Share Posted January 28, 2021 hello im in need of a function that would run in a background and pause all other functions if condition is meet for example if Pixelsearch(''') true then turn on autoit idle and continue to Pixelsearch (''') - ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- the other thing i cannot figure out is how to i execute funtion once and then reset loop counter after it reached = 21 and begin counting from 0 global $i = True $example = true Global $loop = 0 func 1 If $loop = 21 Then call("func4") func 2 example func 3 $loop = $loop + 1 ConsoleWrite($loop&@CRLF) func4 action loop reset call(func1) Link to comment Share on other sites More sharing options...
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