Zohar Posted March 2, 2009 Share Posted March 2, 2009 (edited) HiIf you open IE7,Menu: Tools\Manage Add-ons\Enable or Disable Add-onsYou have in this window in the middle, something that looks like a ListView.(tho AutoIt Window Info shows Class="Static" for it)How do I get the Selected Item's Text there?Thank you Edited March 4, 2009 by Zohar Link to comment Share on other sites More sharing options...
dantay9 Posted March 2, 2009 Share Posted March 2, 2009 I tried it and the class name was SystemListView32. I am using Internet Explorer 8 Beta 2. Link to comment Share on other sites More sharing options...
Zohar Posted March 2, 2009 Author Share Posted March 2, 2009 cool.. tho I will not install a beta, so I am still with IE7 I hope someone knows how to do it Link to comment Share on other sites More sharing options...
Authenticity Posted March 2, 2009 Share Posted March 2, 2009 #include <Array.au3> #include <GuiListView.au3> Dim $hAdds = WinGetHandle('Manage Add-ons') Dim $hSysListView32 = ControlGetHandle($hAdds, 'FolderView', 1) Dim $iCount = _GUICtrlListView_GetItemCount($hSysListView32) Dim $aItems[$iCount] For $i = 0 To $iCount-1 $aItems[$i] = _GUICtrlListView_GetItemText($hSysListView32, $i) Next _ArrayDisplay($aItems) Mine is IE7 and it's still SysListView32. Use WinSpy if AutoIt Window Info can't get this item although AutoIt Window Info is great tool and sufficient most of the time and much simpler and friendly than WinSpy (;]) Link to comment Share on other sites More sharing options...
Zohar Posted March 2, 2009 Author Share Posted March 2, 2009 (edited) well..I tried your code and it works on my machine...Thank you. this solves my problem.I was curious, so I loaded AutoIt Window Info again, and checked again for the class of the Listview there, and it's still "Static".I then loaded MS Spy++(which comes with Visual Studio), and checked again for the class of the Listview there, and surprisingly it's "SysListView32".(I attached a screen capture of both tools)Now I ask my self how can this happen?2 Window Info Tools, pointing at the same Window and same Control, give a different result? Edited March 2, 2009 by Zohar 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