Jump to content

Recommended Posts

Posted

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.

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
Posted

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?

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
×
×
  • Create New...