Meisam Posted June 25, 2019 Share Posted June 25, 2019 Dear all, I want to check/uncheck boxes in a window. As I looked through the forum it can be done by the command ControlCommand. But the problem is that all the checkboxes are in one window and have the same ClassName and they are not assigned as buttons. They can be only recognized by position coordinates. Is there a way to check/uncheck these boxes? Here is the Tool Info of the window with the cursor on one of the boxes: >>>> Window <<<< Title: Moldex3D Setup Wizard 2.0 Class: wxWindowClassNR Position: 539, 170 Size: 842, 700 Style: 0x16C00000 ExStyle: 0x00000100 Handle: 0x00120C48 >>>> Control <<<< Class: wxWindowClassNR Instance: 7 ClassnameNN: wxWindowClassNR7 Name: Advanced (Class): [CLASS:wxWindowClassNR; INSTANCE:7] ID: Text: CustomTreeCtrl Position: 210, 188 Size: 610, 260 ControlClick Coords: 86, 112 Style: 0x52800000 ExStyle: 0x00000000 Handle: 0x000B091C >>>> Mouse <<<< Position: 299, 326 Cursor ID: 0 Color: 0xFFFFFF >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< ... Thanks in advance! Best, Meisam Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted June 25, 2019 Share Posted June 25, 2019 21 minutes ago, Meisam said: They can be only recognized by position coordinates. Do they have the same instance as well? By the way, welcome to the AutoIt forums Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
Meisam Posted June 25, 2019 Author Share Posted June 25, 2019 Yes, they have the same instance. Here is the control info of another box: >>>> Control <<<< Class: wxWindowClassNR Instance: 7 ClassnameNN: wxWindowClassNR7 Name: Advanced (Class): [CLASS:wxWindowClassNR; INSTANCE:7] ID: Text: CustomTreeCtrl Position: 210, 188 Size: 610, 260 ControlClick Coords: 71, 198 Style: 0x52800000 ExStyle: 0x00000000 Handle: 0x00000000000B091C Thank you 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