Windows Scripting Host

Blitz3D Forums/Blitz3D Programming/Windows Scripting Host

fall_x(Posted 2005) [#1]
Just out of curiousity, would it be possible to use Windows Scripting Host (msscript.ocx) with blitzbasic?
Maybe with a wrapper dll (if blitz can't handle ocx, don't know), and possibly a wrapper b3d file that calls the dll?

Wouldn't that be great for scripting events?


jfk EO-11110(Posted 2005) [#2]
the WSH eats .VBS and .JS by default, and they are locally executed with the same rights as an exe. This is also the way a lot of VBS Viruses work. I don't see why a wrapper or something like that would be required. All you have to do is execute the script file.


fall_x(Posted 2005) [#3]
I'm talking about using and interacting with scripts from within your program (which is possible using the msscript.ocx control), not just launching external .js or .vbs script files.