teddyh2o Posted August 9, 2018 Share Posted August 9, 2018 Hello guys, I am new to AutoIt and not a good programmer. I have gone through guides and tutorials to get my script going. However, i am stuck on a little function. I need to search a text and click on the searched text. The program that i am using autoit with, ControlListView won't work since it needs to click on the text. The texts are under SysListView32 class. I tried following codes $_UserName = "USERNAME" $hWnd = WinGetHandle("WINDOW INFO") $Finditem = ControlListView($hWnd, "", "[CLASS:SysListView32; INSTANCE:1]", "Finditem", $_UserName) $Select = ControlListView($hWnd, "", "[CLASS:SysListView32; INSTANCE:1]", "Select",$Finditem) _GUICtrlListView_SetItemSelected($select, 0, True, True) any idea or tip? Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted August 18, 2018 Share Posted August 18, 2018 @teddyh2o Did you check the return values/possible errors of each function? Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette 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