Jump to content

multithread


FabFly
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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