Jump to content
Sign in to follow this  

More than one Process

Recommended Posts



I have one more time a question.

I think it is real easy, but I don'nt know.

How can I run a lot of autoit scripts at the same time?

Script 1 is running until a certain command. Then Script 2 should run and do some processes in the background, while Script 1 continues.

I work with inputs.

The Problem is, that if I run Script 1, and I want to run Script 2, the Script 1 annoys the Script 2..

I hope you know, what I mean.


Share this post

Link to post
Share on other sites

There's a few approaches to this "problem":

One way, is to put the code of your second script in an variable, then FileWrite() that code to a file(for example file.au3) , and then Run() it against your (compiled) script with the commandline /AutoIt3ExecuteScript file.au3

Another way is to pre-compile your second script, and FileInstall() it to a location, then Run() that from within your first script.

I'm sure there is another way to do it, some that I can't come up with right now. :rambo:

Anyways, have a look at the following functions in the helpfile:




Also have a look at Using AutoIt > Command Line Parameters in the helpfile regarding the CommandLine switches. :rolleyes:

Edited by FreeFry

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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.