Is there an API for Tabs?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hello NG!

I'm looking for a Way to

1. enumerate the currently opened Tabs of a specific IE - Instance and get
the Location of the loaded Document(s).
2. programmaticly open a new Tabs and open a Document by it's URL.

Background:
I want to write a small BOH (or whatever else is able to do this) which
allows me to save the collection of the opened Tabs (primary the URL) into a
file, and which allows the user to open this file later, which shall restore
all Tabs that are saved within the file.

The MSDN docs which I've already read never mention an API for Tabs. Because
Tabs are implemented as seperate browsers (from the API point of view), I
conclude that by using the default Hosting API it would not be possible. Am
I right?

The only possible solution that I can think of is:
1. find the Windows behind the Tabs by using FindWindow (starting from the
HWND which can be retrieved by the API).
2. to load specific tabs, I would enter them as Homepages into the Registry,
simulate a "Home" command, and restore the original Homepage Settings.


But this solution (even if would possible) would be very awfull and maybe
would break at the next SP or IE Bug-Fix.



Maybe there is an API for that that I have not found. Any hints?

If anybody already knows such Add-In I would use this instead of writing one
by my own. Anybody know such tool?

Thanks!



GP


.



Relevant Pages