Jump to content

thread in autoit


 Share

Recommended Posts

ok, and how I can make something like this using _Timer_SetTimer()?

func name_of_functon()

....

endfunc

for $i=0 to 3

make_thread("name_of_function")

next

it must work all threads simultaneously

Edited by Kornel
Link to comment
Share on other sites

ok, thx

but maybe someone have function to waiting/finding window names in short time from array with window names?

example:

func myWindowWait($array_with_names[])

for $i to unbound()-1

winwait($array_with_window_names[$i],$time=10s) ;it must be long time for one window, because program is sometime busy and not responding

;and hear is an problem... when I have 10 elements the time is 100 sec.

next

endfunc

So I'm looking for metod that all 10 (or more windows) will be tested in 10 seconds

OR

how to check that program is responding? (is not busy)

maybe by checking that is he resonding or refreshing the window? but how?

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