Looping over all tabs in IE 8
Question: I want to loop over all open tabs in Internet Exporer (for all open IE windows) and save the URL in a text file. How can I do that ? I have wi开发者_Go百科ndows 7 32 bit and IE 8.
Code for Firefox/Google chrome would also be welcome.
If you're doing it via raw window handles: use FindWindowEx() to get the toplevel IE window, then EnumChildWindows() to get the tabs. They each have the WindowClass "IEFrame" (I think the toplevel window does as well.)
加载中,请稍侯......
精彩评论