AutoTrader Posted October 25, 2007 Share Posted October 25, 2007 Hello, Autoit newb here! I am trying to launch 2 different apps, in any order, without Autoit closing after script launch. I have 2 different vbscripts I am launching. One compiles a .WSI, and the other installs the MSI. I can launch either one successfully, but the GUI closes. I want to click either the BUILD or RUN button and run the respective script, but have the GUI still open. I modified the app launcher script available on this site with the following: Func APP_1(); Build and/or Install MSI If $msg = $BUILD Then RunWait("wscript.exe c:\compile.vbs", "") Else EndIf If $msg = $RUN Then RunWait("wscript.exe c:\install-MSI.vbs", "") Else Endif EndFunc Any ideas? Thx Link to comment Share on other sites More sharing options...
Nevin Posted October 25, 2007 Share Posted October 25, 2007 I'm lost. If you are using an AutoIT GUI, where are all your GUI commands? If you're using the default GUI mode, you will need everything to be in a loop..or it is only going to check the conditions once and quit. 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