Sign in to follow this  
Followers 0
AutoTrader

Launching Multiple Apps without Closing

2 posts in this topic

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

Share this post


Link to post
Share on other sites



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.

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  
Followers 0