ciaka Posted December 3, 2009 Posted December 3, 2009 (edited) I looked through this forum and saw some similar questions but do not think they explain what I am trying to do. I have an application, in which I am trying to manipulate a listview. The listview is an extended list view, since each item in there has a check box that a user can click on to check or uncheck the box. Once the item is checked, the application uses that selection in the course of running the program (it is a test application and check boxes tell it which kinds of tests to run). So what I wanted to do is use autoit to control the listview control, and be able to uncheck specific check boxes from that control (to ensure they are not included in the run). I noticed that I can select any of the items in the listview (by using the appropriate calls to click on it), but I cannot figure out what I need to do to be able to either check the checkbox next to any of the items, or uncheck any of these check boxes. I am trying to not have to manipulate screen coordinates to click to get the boxes acted on. Any help with what I will need to do will be greatly appreciated. Thanks. Edited December 3, 2009 by ciaka
funkey Posted December 3, 2009 Posted December 3, 2009 _GUICtrlListView_SetItemChecked Programming today is a race between software engineers striving tobuild bigger and better idiot-proof programs, and the Universetrying to produce bigger and better idiots.So far, the Universe is winning.
ciaka Posted December 7, 2009 Author Posted December 7, 2009 (edited) I tried it and did not work (I got item to be selected but could not clear the check mark from the check box). _GUICtrlListView_SetItemChecked Edited December 7, 2009 by ciaka
bo8ster Posted December 8, 2009 Posted December 8, 2009 Use the autoit info tool then post the output. Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic]
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