Tek Info
asked on
Pop up messages while running script
I have .bat file which runs various commands once triggered.
At any point during the running of the .bat file I would like to pull up a message
that informs the user at what stage they are at.. just a text which flashes up and says
"Stage 5, .. and counting down"...
and then I want that text to cut out.. and than at another point of the .bat file I want another text message to display showing
for example "Stage 4 - preparing file"... etc..
Can I insert these pop up messages and keep them up for about 10 seconds while the background script is running?
if yes how can this be accomplished... ?+
At any point during the running of the .bat file I would like to pull up a message
that informs the user at what stage they are at.. just a text which flashes up and says
"Stage 5, .. and counting down"...
and then I want that text to cut out.. and than at another point of the .bat file I want another text message to display showing
for example "Stage 4 - preparing file"... etc..
Can I insert these pop up messages and keep them up for about 10 seconds while the background script is running?
if yes how can this be accomplished... ?+
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Because the message needs to be sent to someone, in this case the user running the script.
%username% will expand to that user name, no need to change anything.
%username% will expand to that user name, no need to change anything.
ASKER
Thanks. .
ASKER
Is there a way I can remove the OK button?
Nope, sorry.
But then again, it allows the user to click it away if it bothers him ...
But then again, it allows the user to click it away if it bothers him ...
MSG is a great builtin choice, but just in case you see something interesting that might be useful to you check out:
Horst Schaeffer's Software Pages
Take a look at WBOX and WBUSY...
»bp
Horst Schaeffer's Software Pages
Take a look at WBOX and WBUSY...
»bp
ASKER
The first message came up and the last one in the script but the ones in between don't but this is fine.
ASKER