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
2 Comments Add your own
1. Raju | October 22nd, 2008 at 4:52 pm
There are two fields “Carrier” and “Tracking No”. When we select “FedEx” or “DHL” in the carrier field then a tracking no is generated for that particular carrier. “Tracking no” is a hyperlink field so when we click on the tracking no it should take us to the respective website of that carrier. How to accomplish this functionality.
2. stuandgravy | October 22nd, 2008 at 5:54 pm
Raju,
See the post on URL Controls.
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