I am using this AutoCopy chrome extension as a framework for what I hope to be my own working extension. Basically, I want my extension to be able to shell out another script (VBScript) on the users file system (sending a parameter for it, too, if I can get that to work) So, I was hoping to use something to the effect of:
wsh = new ActiveXObject("WScript.Shell");
wsh.run("myscriptiwannarun.vbs");
but it is unresponsive in my extension. (the code snippet works when run as a standalone .js file, however.)
Note I was however able to sneak in an alert("test")
in the extensions code and it worked fine. So, it feels like something is amiss in creating the ActiveX object.
Am I unable to create ActiveX objects in a chrome extension?