There's some UDF or metod to make a script that support multithreading? I don't want make a loop or file comunication, i want an UDF that work very well ;) it exits?
Quote:
AutoIt is single threaded which makes asynchronous programming, concurrency and parallelism (e.g. communications applications) extremely difficult.
(This can be worked around through the use of such things as multiple processes, Component Object Model, etc., but it would be much less onerous if a multithreading API was provided for use within the language itself or its libraries.)
Shellexecute(@autoitexe, "/Autoit3ExecuteScript " & @ScriptDir & "/somescriptname.au3")
execute part of thread1 execute part of thread2 ... execute part of threadN execute part of thread1 ...
While True
<action1>
<action2>
[...]
<actionN>
WEnd