vkrisz81 Posted January 21, 2014 Share Posted January 21, 2014 (edited) Local $aIE[1] $aIE[0] = 0 Local $i = 1, $oIE While 1 $oIE = _IEAttach("", "instance", $i) If @error = $_IEStatus_NoMatch Then ExitLoop ConsoleWrite(WinGetTitle("[INSTANCE: "& $i &"]") & @CRLF) ReDim $aIE[$i + 1] $aIE[$i] = $oIE $aIE[0] = $i $i += 1 WEnd ConsoleWrite("Number of browser instances in the array: " & $aIE[0]&@CRLF) i would like to reach tabs' title.. how can i point them? how can i reach them? because i can see the amount of all available tabs or windows but.. how can i see each one one by one? (sry for my english level) if i try use wingettitle("[active]") it always list the autoit windows title.. because of start it was the last active window! Edited January 21, 2014 by vkrisz81 Link to comment Share on other sites More sharing options...
vkrisz81 Posted January 21, 2014 Author Share Posted January 21, 2014 ok i found the answer.. #include <IE.au3> ;~ #include <MsgBoxConstants.au3> Local $aIE[1] $aIE[0] = 0 Local $i = 1, $oIE While 1 $oIE = _IEAttach("", "instance", $i) If @error = $_IEStatus_NoMatch Then ExitLoop ConsoleWrite( _IEPropertyGet($oIE, "title") & @CRLF) ConsoleWrite( _IEPropertyGet($oIE, "locationurl") & @CRLF) ReDim $aIE[$i + 1] $aIE[$i] = $oIE $aIE[0] = $i $i += 1 WEnd now it worsk fine! ty! 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