emulation - javascript library which emulates Windows' WScript object? -


i'm looking emulation, in javascript, of wscript object. i've started creating such object , defining methods , properties work wscript object. goal wrap functionality need , take in different direction.

the reason doing avoid wholesale changes large body of jscript scripts. i'd prefer globally swap "wscript" (e.g.) "mywscript" , leave ".echo" , ".stdout.write" etc things handled new object's same-named handlers.

what haven't looked @ extending wscript object itself.

rather reinvent wheel, there wscript clone/workalike/emulation out there somewhere?

later

wscript object doesn't seem able extended. not string, example.

a couple of days later

hey, i'd take jscript.net implementation if there one!


Comments