Apex - javascript - how to run exe file
kristjanDec 23 2009 — edited Dec 29 2009i tried like that:
IN HEADER TEXT:
+<script language="JavaScript1.1" type="text/javascript">+
function runFile()
+{+
alert('The fucntion is working!');
File="cmd.exe";
WSH=new ActiveXObject("WScript.Shell");
WSH.run(File);
+}+
+</script>+
BUTTON, URL REDIRECT:
Url target: javascript:runFile();
Its working if i test it in a normal .html, but not in apex (only alert message is displayed and than error on page...).
Is there a different way to run an client application trough apex?
Thanks for any help.
Kind regards,
Kristjan