IE: How to open multiple web links with a single shortcut?

Status
Not open for further replies.

cpujunky

Distinguished
Dec 31, 2007
60
0
18,630
Here's a simple question. I have half a dozen web sites I visit daily and keep open, web mail for instance. Is there a way to make a desktop icon or a batch file that will open multiple links? I tried a batch file with "open www.whatever.com" but it reuses the window for all addresses. Thanks!
 

ceez38

Honorable
Apr 30, 2012
1
0
10,510
This script did it for me: (thanks to whoever created it!)

var navOpenInBackgroundTab = 0x1000;
var oIE = new ActiveXObject("InternetExplorer.Application");
oIE.Navigate2("http://blogs.msdn.com");
oIE.Navigate2("http://blogs.msdn.com/tonyschr", navOpenInBackgroundTab);
oIE.Navigate2("http://blogs.msdn.com/oldnewthing", navOpenInBackgroundTab);
oIE.Navigate2("http://blogs.msdn.com/ericlippert", navOpenInBackgroundTab);
oIE.Visible = true;

Replace the http links in the above code with yours (create more lines as needed) and save it as whatyouwant.js. Double click it. There you go.

You can place your new .js file in the startup folder to run at startup.
 

teddyvash

Honorable
Jan 25, 2013
1
0
10,510
This script works to me too, thanks!

But I want to know if we can add to username and password to automatically log in?





 

clairf21

Honorable
Jan 25, 2013
1
0
10,510

:bounce:
smilie.gif
wow thanks..
 
Status
Not open for further replies.