Jump to content
Sign in to follow this  

How to interact with checkboxes in listbox?

Recommended Posts



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

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")
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.


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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.