Open multiple tabs in Internet Explorer 7

Internet Explorer 7 does not support a built-in command to open multiple tabs at startup. 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("", navOpenInBackgroundTab);
oIE.Navigate2("", 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

Of course, if you chose another destination to save your launchie7.js, you should specify that specific path.

9 thoughts on “Open multiple tabs in Internet Explorer 7

  1. Hi there would you mind letting me know which web host
    you’re utilizing? I’ve loaded your blog in 3 different web browsers and
    I must say this blog loads a lot faster then most.
    Can you suggest a good internet hosting provider at a fair price?
    Thanks a lot, I appreciate it!

  2. I’m trying to script some tasks each morning and many of these tasks are run through a browser. I’ve tried to use this script but if I add more than 4 total tabs, it gives the following error:

    Script: c:\MyScripts\ietest.js
    Line: 8
    Char: 1
    Error: Unspecified Error
    Code: 80004005
    Source: (null)

Leave a Reply

Your email address will not be published.