Sign in to follow this  
Followers 0
Sunsawe

How to interact with checkboxes in listbox?

4 posts in this topic

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

Share this post


Link to post
Share on other sites



#3 ·  Posted (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 here

Run("control appwiz.cpl,,2")
WinWait("Windows Components")
Sleep(1000)
WinClose("Add or Remove")
Edited by JBeef

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0