Start Internet Explorer as ActiveX control with JavaScript
November 23, 2009 23:37:55 Last update: November 24, 2009 04:04:20
IE can be started from JScript as an ActiveX control. Create a file named
start_ie.js with the following contents and run (from command line or Run box):
var browser = new ActiveXObject("InternetExplorer.Application"); // the following two lines are not necessary. They are here just to show that you can associate // properties to the browser object. browser.putProperty("question", "123uiotuer4"); var q = browser.getProperty("question"); browser.visible = true; // default is false browser.navigate('http://www.google.com/search?q=' + q);