Jump to content
VijaySaibola

Parallel Tasks with AutoIT

Recommended Posts

VijaySaibola

Is it possible run multiple tasks with AutoIT in parallel? For example, I need to Map 10 network shares. I have been doing it with netuse function in a batch-file executed in loop with the AutoIT function ShellExecute. I would prefer to use DriveMapAdd Function, as its easier to react to the error messages in the AutoIT script itself.  The disadvantage is if I run a loop 10 times to map network shares, it's executed serially and thus slower.

Share this post


Link to post
Share on other sites
jpm

AutoIt itself is not MultiTask but you can launch several scripts  with the Run(@autoItexe & " scriptN.au3")

Share this post


Link to post
Share on other sites
VijaySaibola
Just now, jpm said:

AutoIt itself is not MultiTask but you can launch several scripts  with the Run(@autoItexe & " scriptN.au3")

Can I pass arguments/Parameters to the ScriptN?

Share this post


Link to post
Share on other sites
JLogan3o13

Yes


√-1 2^3 ∑ π, and it was delicious!

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

×