Monday, June 23, 2008

Open IE7 with a list of URLs each in its own tab

Well I had spent some time when IE7 first came out, and then again maybe 6 months after, trying to find a solution for this. I want IE7 to open with multiple web sites already up, each in its own tab. IE7 does not support this via command line. I looked into scripting it, but didn't find anything really stable or usable.

However some more time has gone by, and somebody has figured it out:
http://blogs.msdn.com/tonyschr/archive/2007/01/19/ie-automation-amp-tabs.aspx

I had to do some playing, adding try-catch blocks to each URL line, and then changing the order of the URLs around quite a bit. It seems that problems with the target site really affects this script. But I did get it to work reliably. Thanks Tony!

No comments: