Click here for important information about

VBScript Progress Indicator

December 13, 2010 at 07:35:49
Specs: Windows Vista
I have a Script that is going to run 7 tasks, each can complete on their own time, meaning step 3 can be completed before step 1 is completed. As it stands, it runs them perfectly, but has no indicator on progress.

I don't really need a Progress Bar, though that would be nice, but the timing for the tasks vary from computer to computer, so that may not be feasable. What I need is a small popup window (or something) that lists the individual tasks...

step 1 Performing
step 2 Performing

With the process status automatically updating, starting at Waiting > Performing > Complete. Step 7 is optional, as the files it copies may not be present for various reasons, so it's status after performing could be None Present. Then when all are Complete, display a message in the box.

If I need to use another language that's fine.

Any thoughts?

See More: VBScript Progress Indicator

December 14, 2010 at 14:03:13
The easiest method is to use WScript.StdOut.WriteLine, but that requires the VBS to run though cscript, and not wscript.

Almost as easy is to use WScript.Shell.Popup with a timer, but the script's execution halts until the message box goes away.

The painful method is to use Internet Explorer as a GUI for your script. It allows you to have pretty graphics, progress indicators, and whatnot, but you need to keep track of a COM object that's at the mercy of the user.

How To Ask Questions The Smart Way

Report •
Related Solutions

Ask Question