MrChris Posted July 27, 2006 Share Posted July 27, 2006 I am running a command via the RunWait function and was hoping to have a MsgBox popup after the RunWait function is executed but before it is closed. The MsgBox will have something like "The program is running in the systray. The script will continue when the tray app is closed." Make sense? Thanks, MrChris Link to comment Share on other sites More sharing options...
Vivvic Posted July 27, 2006 Share Posted July 27, 2006 (edited) Ok, assuming you want to run a program with Runwait, and before the program finishes you want a message box to pop up. To my knowlage (which isnt that extensive at all) RunWait pauses the script until the program finishes. I think you can however do something like the following script. Run("Program.exe") MsgBox(0, "Message", "The program is running in the systray. The script will continue when the tray app is closed." WinWaitClose("TITLE of your program") EDIT: Could be wrong though. Edited July 27, 2006 by Vivvic [quote name='DaleHohm']You have a strange habit of posting error messages that don't match your code.[/quote][quote name='SmOke_N']Forget the learning... straight to the scripting :lol: (laugh.gif)[/quote] 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