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("https://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.
Thanks! Just what I needed.
Yihuu!
Result – what is my IP.?? what’s this!?
Joe,
that’s one of the webpages that open when you copy-paste my script. Feel free to change the URL whatismyip.org to http://www.amazon.com if you like 🙂
Christian
Great thank you.
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)
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!
Thanks for this post, i will try that.
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!
Joe,
that’s one of the webpages that open when you copy-paste my script. Feel free to change the URL whatismyip.org to http://www.amazon.com if you like 🙂
Christian