Jump to content

RunWait then a MsgBox before RunWait closes?


Recommended Posts

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

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]

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...