Shell command for Browser Script
May 5th, 2008
A question on the Oracle discussion forum last week prompted me to dig out a MetaLink article that I’ve never noted here. The question was “How to call a local executable from the browser”: the answer is to use browser script to instantiate a Windows Scripting Host ‘Shell’ ActiveX object, like so:
var objWSH = new ActiveXObject("WScript.Shell");
objWSH.Run("notepad.exe");
More detail on using the ActiveXObject is available in the post on Client-side DLLS.
Entry Filed under: Integration, Scripting, Siebel
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed