Sign in to follow this  
Followers 0
MrChris

RunWait then a MsgBox before RunWait closes?

2 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 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]

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