runPCCommand & CopyToClipboard Not working
Posted: Fri Jul 20, 2012 1:15 pm
The following code works in my javascript object:
MyObject = new ActiveXObject( "WScript.Shell" ); MyObject.Run("calc.exe");
but
runPCCommand("calc.exe");
does not work.....
The following code works in my javascript object:
window.clipboardData.setData("Text", "hello world");
but
copyToClipboard("Hello world.");
does not work....
It must be something really simple.
MyObject = new ActiveXObject( "WScript.Shell" ); MyObject.Run("calc.exe");
but
runPCCommand("calc.exe");
does not work.....
The following code works in my javascript object:
window.clipboardData.setData("Text", "hello world");
but
copyToClipboard("Hello world.");
does not work....
It must be something really simple.