Tuesday, May 12, 2009

Internet Explorer 7 open multiple tabs

Internet Explorer 7 does not support a built-in command to open multiple tabs at startup, and Group Policy only allows you to configure one home page.
Although you can specify multiple URL’s as default homepages, this might not be what you want.A solution to open several tabs at once for only one time, can be made with Windows Scripting Host, or wscript.

First, create a new text document with Notepad or some other text editor and add the following content:

var navOpenInBackgroundTab = 0x1000;
var oIE = new ActiveXObject("InternetExplorer.Application");
oIE.Navigate2("http://www.itexperience.net");
oIE.Navigate2("http://www.google.com", navOpenInBackgroundTab);
oIE.Navigate2("http://www.whatismyip.org", navOpenInBackgroundTab);
oIE.Visible = true;

Save the file as launchie7.js (so change the extension from *.txt to *.js) to your C:\ drive

To launch Internet Explorer with multiple tabs, run the following command from Start - Run:
wscript.exe C:\launchie7.js


Taken from http://www.itexperience.net/2008/09/30/open-multiple-tabs-in-internet-explorer-7/

No comments: