Jump to content

TabWindowClass IE7


Hasher
 Share

Recommended Posts

Hi

EDIT: After a bit more reading I think I am looking for the handle of the tabs in IE7 using Tabwindowclass !!

From reading previous posts M$ hasn't released any docs on tabs in IE7 . I am writing a little app that hooks any IE window that has focus but of course this doesnt work on tabs only the top document. Below is a loop which is working but with a few bugs , I cut down the script for easy reading......

#include <IE.au3>

    $handle = 0
    While 1
    Do
    $hwnd = WinGetHandle("classname=IEFrame", "")
    sleep(100)
    Until @error <> 1
    if $handle <> $hwnd Then
    $handle = $hwnd
    $oIE = _IEAttach($hwnd, "hwnd")
                _IENavigate($oIE,"http://www.hotmail.com/")
    endif
    WEnd    

oÝ÷ ÙhZ´Ûhz0Çh¢Kay6Z)Ý£¥jË";¶{brZn¬~.±©Ýëfɪi¶h¢H­";¬·§¶Ú+y§]jÖ®­êZéèµÊ'¶º%j|¬¥ç"~'-i½÷ßtÞYòíêâm­§$méhÂ++më(º·¶¶Ø^rV¬zȧjw±¦Z+z¼"Ú0!Ƨ±çiµ¢Ú0rV¬±»­ ¶+l©Ýäájy,v½©ÜzÈhrGjëh×6
#include <IE.au3>
AutoItSetOption ("WinTitleMatchMode",4)
local $handle = WinGetHandle("classname=IEFrame", "")
$text = WinGetClassList($handle, "")
MsgBox(0, "Text read was:", $text)
Edited by Hasher

Firefox's secret is the same as Jessica Simpson's: its effortless, glamorous style is the result of — shhh — extensions!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...