jftuga Posted May 4, 2010 Share Posted May 4, 2010 I searched the forum for this already and also studied the _GUICtrlListView_* functions but am not sure if this can be done or not. I have a 3rd-party program (binary only, no source code) that has a listview in it. How can I get the contents of this LV with AutoIt? I can get the ClassNameNN of the LV with the AutoIt v3 Window Info program. Ideally, I like to get a double array with the first index being the row number and the second index being the contents of each column. Thanks! -John Admin_Popup, show computer info or launch shellRemote Manager, facilitates connecting to RDP / VNCProc_Watch, reprioritize cpu intensive processesUDF: _ini_to_dict, transforms ini file entries into variablesUDF: monitor_resolutions, returns resolutions of multiple monitorsReport Computer Problem, for your IT help deskProfile Fixer, fixes a 'missing' AD user profile Link to comment Share on other sites More sharing options...
ajit Posted May 4, 2010 Share Posted May 4, 2010 @John Try $hWnd = ControlGetHandle ("title", "text", controlID ) to get handle of listview $itemcount = _GUICtrlListView_GetItemCount($hWnd) _GUICtrlListView_GetItemText($hWnd, $iIndex[, $iSubItem = 0]); Loop till $itemcount to get contents of LV. Regards Ajit Note: Wrong forum Link to comment Share on other sites More sharing options...
jftuga Posted May 5, 2010 Author Share Posted May 5, 2010 This code "worked". I got back an empty set because this listview is inside of a ThunderRT6PictureBoxDC, which according to other forum posts, you cannot do much with. Thanks, -John Admin_Popup, show computer info or launch shellRemote Manager, facilitates connecting to RDP / VNCProc_Watch, reprioritize cpu intensive processesUDF: _ini_to_dict, transforms ini file entries into variablesUDF: monitor_resolutions, returns resolutions of multiple monitorsReport Computer Problem, for your IT help deskProfile Fixer, fixes a 'missing' AD user profile 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