Leykis101 Posted December 2, 2006 Share Posted December 2, 2006 I am trying to log all websites accessed via IE. I need a way to get a list that I can loop through using _IEAttach. Does anybody know how to retrieve a list of HWND's or any other way that would work for me? I would go with using ProcessList("iexplore.exe") except IE7 supports tabs, and I believe that using the PID would only grab me the information from the active tab. Thanks for any advice I can get! Link to comment Share on other sites More sharing options...
Leykis101 Posted December 3, 2006 Author Share Posted December 3, 2006 I found my answer here http://www.autoitscript.com/forum/index.ph...st&p=174932. Many Thanks to cdkid, you rock!! $shell = ObjCreate("Shell.Application") dim $winsar[1], $count = 1 For $i in $shell.windows If (ObjName($i.document) = "DispHTMLDocument") Then ReDim $winsar[UBound($winsar, 1) + 1] $winsar[$count] = $i.locationurl $count = $count + 1 EndIf Next $winsar[0] = $count - 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now