Jump to content

Recommended Posts

Posted (edited)

Hi Everybody

I've been using autoit for a while now and could always find help on my own but now I'm having a problem and don't know any possible solution.

In the attached file you can see what I'm talking about. I need to read out the status of all the checkboxes in the list and then either, check or uncheck them depending if they already are. I tried quite a few solutions but it seems theres not much you can do with SysListView32 Windows. I dont care if there's a lot of code just need anyway to make this possible.

EDIT:

My first try was with "down, down, down, space" and so on. The problem ist that there is different checkboxes selected for each blackberry I need to prepare so it would send space to a checkbox that is already selected and uncheck it.

post-67558-0-27488900-1317220290_thumb.p

Edited by Frozen
Posted

I'm thinking _GUICtrlListView_GetItemChecked might be something that can help you. Check that out in the Help and see if it gets you on track.

Hope that helps.

Posted

The main problem is Au3Info.exe can only see the whole sysliestview32 windows but not the single instances inside.

Check the first Pic see the black border around the whole table. tool.

Posted Image

In the second picture i can get an instance with the infotool

Posted Image

I even tried some sort of autoit controls enumerator, this is all i got

  Reveal hidden contents

I just can't get the IDs for the individual checkboxes

Posted

I might be mistaken, but I don't think the AutoItWindowInfo typically exposes the IDs of individual line items of a ListView. That's why you would use the _GUICtrlListView_* functions. Once you have the handle for the ListView, you'll need to use functions like the _GUICtrlListView_GetItemCount, _GUICtrlListView_GetItemText, etc. They will let you iterate through those individual items, check their state, and change it, if necessary.

Hope this helps.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...