Jump to content

idle on /off. and reset loop counter help

Recommended Posts


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


func 3


$loop = $loop + 1



loop reset



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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...