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("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

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

Leave a Reply

9 Comments on "Open multiple tabs in Internet Explorer 7"

Notify of
avatar
Sort by:   newest | oldest | most voted
Rickey
Guest

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!

joseph
Guest

Thanks for this post, i will try that.

naver0x
Guest

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)

Galope
Guest

make sure that all the websites are not under a VPN because if the pages you are trying to open it wont allow you to do so!

Jeppen
Guest

Great thank you.

Joe
Guest

Result – what is my IP.?? what’s this!?

Klaus
Guest

Yihuu!

ændrük
Guest

Thanks! Just what I needed.

wpDiscuz