Sunsawe Posted September 25, 2007 Share Posted September 25, 2007 Hi, My script is made to interact with an external application that i didn't make. This application has a GUI which is presenting a listbox in which every line has a checkbox on the left. I succeeded to reach the lines, to select them but i can't figure out how to check the checkboxes. With the AutoIt Window Info, i can just have information about the listbox. To reach the lines i am using Auto3Lib. Does someone know how to do it? Thank you Link to comment Share on other sites More sharing options...
Bert Posted September 25, 2007 Share Posted September 25, 2007 Try this forst to see if the keyboard can do it. Tab to the checkbox. Then press the spacebar. If that works you can do that, or do a controlclick to check it. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
JBeef Posted September 25, 2007 Share Posted September 25, 2007 (edited) maybe figure LB_GETITEMDATA and SendMessage. and some LB_SETITEMDATA. but seems ptr return problem in DllCall. okey dokey - try spacebar. ~Jap for test. listbox hereRun("control appwiz.cpl,,2") WinWait("Windows Components") Sleep(1000) WinClose("Add or Remove") Edited September 25, 2007 by JBeef Link to comment Share on other sites More sharing options...
Sunsawe Posted September 26, 2007 Author Share Posted September 26, 2007 I tried with the keyboard and it is working. But if someone has a solution without the keyboard, i am interested. I am not sure that i will always have keyboard access. thanks 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