vectra246 0 Posted June 30, 2011 Hello everyone, I am a newbie with Autoit and I have a problem I can find no solution on the Internet. I am working on a script that starts a program and after starting to select a file. The files are in SysListView32 I think you can use _GUICtrlListView_SetItemSelected but I can not find the right parameters for this. Can anyone help me? Thanks. Share this post Link to post Share on other sites
Zedna 280 Posted June 30, 2011 Use ControlGetHandle() to get handle of ListView control. Use _GUICtrlListView_FindText() or GUICtrlListView_FindInText() to get item index of desired row based on row's text. Finally call _GUICtrlListView_SetItemSelected() with all these information. There are examples in Autoit's helpfile for each of these functions. Resources UDF ResourcesEx UDF AutoIt Forum Search Share this post Link to post Share on other sites
vectra246 0 Posted July 1, 2011 Thanx, This is the code i now use : $cWindow = ControlGetHandle("Open bestand","","[CLASS:SysListView32; INSTANCE:1]" ) $cIndex = _GUICtrlListView_FindText($cWindow,"0100.10.257") _GUICtrlListView_SetItemSelected($cWindow, $cIndex) On this moment it's working for me.... Share this post Link to post Share on other sites