Displaying multi-select list box using vbs

chrscote
chrscote used Ask the Experts™
on
I currently have a separate vbs file that renames a file from a generic name to one that is sent with the arguments.  This is done within a DOORS template that creates a document   An example call to this script would be:
cscript "..\3 - Publishing_Scripts\File_Rename.vbs" "${Word}" "${Document_Select}"

where it uses the File_Rename.vbs function to change the name of the current file to the name in Document_Select.

Now, we would like to create a script that runs before the main template that will display a list of available documents they can create and automatically run the template for each document selected.
I will work out the code to run the template multiple times, but my first issue is much more mundane... How do I create a multi-select drop-down box within a .vbs file?

Chris
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
IT / Software Engineering Consultant
Top Expert 2016
Commented:
No capability to do that with just a VBS script, it doesn't support complex UI's, just simple input box stuff.  What you really want to look at is HTA's, it allows an HTML based front end to your VBS code.  Take a look at the following links to get an idea what it is about, and see if you think it might be the direction you want to go.



»bp

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial