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

  • 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.


Calendar

May 2008
M T W T F S S
« Apr   Aug »
 1234
567891011
12131415161718
19202122232425
262728293031  

Most Recent Posts