JustDoIt 0 Posted September 19, 2007 How to have 2 or more apps running one after the other in one script. Run("app1.bat") Run("app2.exe") But when app1 finishes, it did not call app2.exe but exits out. How do I get both app1 and app2 running one right after the other ? Thanks. Share this post Link to post Share on other sites
Nahuel 1 Posted September 19, 2007 (edited) Humm... it works for me. I created a batch file called "batch.bat":echo hellopauseand 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 September 19, 2007 by Nahuel Share this post Link to post Share on other sites
JustDoIt 0 Posted September 20, 2007 Parameters weren't passed correctly to my app2.exe; that was why it didn't run. Share this post Link to post Share on other sites