Sam137 0 Posted June 3, 2011 Hello I am a newbie to this AutoIt. I have a window named "current Litings". In the window i have n reports, on which i want to find and select and open the particular report "12a (3M) Core Measures Referral List". how to do that? Please help. Share this post Link to post Share on other sites
smartee 14 Posted June 3, 2011 hi Sam137,Firstly, Welcome to the AutoIt forums!! Here's the AutoIt Wiki, a great resource if you wish to become proficient in AutoIt in no time.Also, here's some forum guidelines(very short) in case you missed it:)Ok, back to business , With respect to your question, try using the AutoIt Window Info tool and search the help-file for the Control*() functions Happy coding ,-smartee Share this post Link to post Share on other sites
Sam137 0 Posted June 3, 2011 hi Sam137,Firstly, Welcome to the AutoIt forums!! Here's the AutoIt Wiki, a great resource if you wish to become proficient in AutoIt in no time.Also, here's some forum guidelines(very short) in case you missed it:)Ok, back to business , With respect to your question, try using the AutoIt Window Info tool and search the help-file for the Control*() functions Happy coding ,-smarteeI have searched and could not know how to proceed with?? Please help Share this post Link to post Share on other sites
Sam137 0 Posted June 3, 2011 For this requirement, i coded like this.... but nothing is happening... please help #Include <GuiListView.au3> $gametype = "12a (3M) Core Measures Referral List" $opts = "12a (3M) Core Measures Referral List" ;$opts = "Large" $chnd = ControlGetHandle("Current Listings", "", "SysListView322") For $i = controllistview ("Current Listings", "", "SysListView322", "GetItemCount") to 1 step -1 $txt = controllistview ("Current Listings", "", "SysListView322", "GetText", $i, 2) if $txt = $gametype Then $txt = controllistview ("Current Listings", "", "SysListView322", "GetText", $i, 4) if $txt = $opts Then ;~ controllistview ("Current Listings", "", "SysListView322", "Select", $i) _GUICtrlListView_SetItemSelected($chnd, $i) _GUICtrlListView_ClickItem($chnd, $i) msgbox (0, "", "Found and selected item!") WinActivate ("Current Listings") quitnow () endIf endIf Next Share this post Link to post Share on other sites
smartee 14 Posted June 4, 2011 Hmm, maybe a bit more info about the window/program you're trying to automate will help us help you Some screenshots of the window with Autoit Window Info perhaps? Share this post Link to post Share on other sites