Using .NET, I can write an app that hosts a scripting engine that complies with Microsoft's IActiveScript conventions.  This includes JScript and VBScript from Microsoft, and also PerlScript, RubyScript and I don't know what else from third...
I have an instance of MSXML2.DomDocument.   I wave to save it, with indenting.   This code works, but does not indent:   var dom = new ActiveXObject("MSXML2.DomDocument"); // fiddle with dom here dom.save(filename);   I think I can use an MXX...
I am trying to run a Javascript file locally, which is supposed to create a CSS image sprite using ImageMagick. It's part of the OpenID selector JS component: http://code.google.com/p/openid-selector/  The generate-sprite.js (http://code.google.c...
I'm writing a JScript program which is run in cscript.exe. Is it possible to run a commnad line command from within the script. It would really make the job easy, as I can run certain commands instead of writing more code in jscript to do the sam...
How can I set an environment variable in WSH jscript file that calls another program? Here's the reduced test case:  envtest.js ---------- var oShell = WScript.CreateObject("WScript.Shell"); var oSysEnv = oShell.Environment("SYSTEM...
I have a .js file that normally gets executed by cscript.exe (i.e. is not run in the browser and cannot be run there).  I know, that I can feed cscript.exe the //X parameter in order to get asked for a debugger to choose. Ok. That's fine.  I sele...
I'm writing an elisp module that requires an external text file.   For the curious, the module integrates the interactive JS REPL for Cscript.exe with shell mode in emacs. It allows me to run an interactive javascript shell in emacs, on Windows....
Does anyone know how to set the working directory in JavaScript before?  Code I use for launching an application is this:  // Create an object script oL = new ActiveXObject("WScript.Shell"); oFile = '"C:/Application.exe"'; oL....
I'm stuck on a "Hello World" program.  Not even kidding.  alert("Hello World");   I have searched, and I can't find any reason this wouldn't execute in WSH, but it won't; I'm assuming I've screwed up unbelievab...
I'm building a .hta (with javascript) from which i want to launch several applications.  But when i execute my .hta i get the error message can't find file  this is the code:  <script type="text/javascript" language="javascript...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.