Jump to content

How to have 2 or more apps running one after the other in one script


JustDoIt
 Share

Recommended Posts

Humm... it works for me. I created a batch file called "batch.bat":

echo hello

pause

and then I used this script.

Run("batch.bat")
Run("notepad.exe")

Works perfectly, even if the batch file has a pause.

Now, if you use:

RunWait("batch.bat")
Run("notepad.exe")

it will wait for you to press a key in the batch file so it finishes and then open notepad.

It works perfectly here. Maybe it has something to do with your AutoIt version?

Edited by Nahuel
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...