jmc Posted February 7, 2011 Share Posted February 7, 2011 I need to find all that are checked boxes and uncheck them and apply the change and 'DoMyStuff'. Next I'll need to go thru all the checkboxes and toggle them, applying the change each time and 'DoMyThing' From various testing and reading, it seems there no quick way to do this. So my general plan of attack is: Get control positions using AU3_ControlGetPos functions. GetItemCount using AU3_ControlListView . For each item //uncheck all { using position and pixel function to determine if it's check box. Then using position and pixel function to determine if it's check-marked, if so use AU3_ControlClick to un-checkmark it. } Apply changes. 'DoMyStuff' For each item //toggle each { using position and pixel function to determine if it's check box, if so use AU3_ControlClick to checkmark it. Remember this position. Apply changes. 'DoMyThing' Using the remembered positions with AU3_ControlClick, un-checkmark it Apply changes. } Since the number of items may vary, I will also have to take into consideration scrolling. Question is: is this the best way to do it? ie are my on the right track, or totally out to lunch? 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