Sign in to follow this  
Followers 0
Kornel

thread in autoit

5 posts in this topic

Is there any way to make a few threads from ONE function, "adlibenable" is drop of for that purpose, it can use only one thread from function, and it doesnt return any handle.

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

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

Share this post


Link to post
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?

Share this post


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
Sign in to follow this  
Followers 0