VijaySaibola Posted April 24, 2018 Share Posted April 24, 2018 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. Link to comment Share on other sites More sharing options...
jpm Posted April 24, 2018 Share Posted April 24, 2018 AutoIt itself is not MultiTask but you can launch several scripts with the Run(@autoItexe & " scriptN.au3") Link to comment Share on other sites More sharing options...
VijaySaibola Posted April 24, 2018 Author Share Posted April 24, 2018 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? Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 24, 2018 Moderators Share Posted April 24, 2018 Yes "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Gianni Posted April 24, 2018 Share Posted April 24, 2018 ... maybe the script provided at the following link could be useful for your goal https://www.autoitscript.com/forum/topic/192157-multi-task-easily-run-and-mange-many-processes/ Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
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