Using Window Scripting Host, how can I make two Vbscript programs communicate?(ie. vbscriptfile1 calls a function in vbscriptfile2)
Printable View
Using Window Scripting Host, how can I make two Vbscript programs communicate?(ie. vbscriptfile1 calls a function in vbscriptfile2)
The only way to do this (that I know of) is to create a Windows Script Component. This is the equivalent of an ocx file written in vbscript. The file is an uncompiled text file that is in an xml mark-up. This allows you to create objects within vbscript.
I've attached an example. It is a simple script that emulates some of my favorite Unix functions.
Hope this helps.