FabFly Posted November 22, 2005 Posted November 22, 2005 Hi all, Is there any way to manage multithread progamming in AutoIT script. I explain my case : I've developed a robot to monotor response time server. But, I would like to launch several robots in parallel. Is it possible ? if yes, how can I do this. Thanks for your support. Regards, FabFly
jpm Posted November 22, 2005 Posted November 22, 2005 AutoIt by itself is monothread. some kind of simulation can be done thru AdLib. Perhaps you better launch as many script managing each of them one robot
FabFly Posted November 24, 2005 Author Posted November 24, 2005 Hi, I precise my problem. With the IE.au3 UDF, if there is one IE page open and the script is beginning its work, the script stops. Each script i've written uses IE.au3. When I try to launch each script in parallel, each of them don't work. But if I launch them sequentially, evrything is fine. Can someone help me ? Thanks in advance. FabFly
seandisanti Posted November 24, 2005 Posted November 24, 2005 (edited) Hi,I precise my problem.With the IE.au3 UDF, if there is one IE page open and the script is beginning its work, the script stops.Each script i've written uses IE.au3.When I try to launch each script in parallel, each of them don't work. But if I launch them sequentially, evrything is fine.Can someone help me ?Thanks in advance.FabFly a few ways you could go about this...1) copy the contents of the ie.au3 (or atleast the parts you need) to your script that includes it. then omit the #include<ie.au3>.2) compile your scripts. If the scripts are compiled, they should each be using an included copy of the ie.au3, so they should successfully run concurrently...2.alt) compile your scripts and launch them using run commands from another script. you could even fileinstall() the compiled scripts into the loader, so that it installs the other scripts, then executes them from their new locations, that way there is one launcher that is spawning multiple single-threaded processes... Edited November 24, 2005 by cameronsdad
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now