JohnSte Posted May 31, 2012 Share Posted May 31, 2012 I have a control with two text boxes for password entry/confirmation. The control has the same name and instance number for both boxes, and I can't figure out which command to use to get it to work. I've attached a PNG of the control. I have tried ControlSend and ControlSetText, for example: ;ControlSetText ("Mobility Warehouse Installation Wizard", "Create a Mobility warehouse password", "[CLASS:#32770; INSTANCE:4]", "password") I have a feeling I'm missing something simple, but I've just started using AutoIt so that wouldn't be much of a surprise The Window Info Summary: >>>> Window <<<< Title: Mobility Warehouse Installation Wizard Class: #32770 Position: 99, 45 Size: 531, 431 Style: 0x94C80AC4 ExStyle: 0x00010101 Handle: 0x0024045E >>>> Control <<<< Class: #32770 Instance: 4 ClassnameNN: #327704 Name: Advanced (Class): [CLASS:#32770; INSTANCE:4] ID: Text: Position: 0, 0 Size: 522, 359 ControlClick Coords: 250, 253 Style: 0x50000444 ExStyle: 0x00010000 Handle: 0x001504D2 >>>> Mouse <<<< Position: 352, 320 Link to comment Share on other sites More sharing options...
abberration Posted June 1, 2012 Share Posted June 1, 2012 I have found ControlSetText works best. I would try it with the second parameter being blank: ControlSetText ("Mobility Warehouse Installation Wizard", "", "[CLASS:#32770; INSTANCE:4]", "password") Sorry, I couldn't find the software, so I couldn't do any testing. Easy MP3 | Software Installer | Password Manager Link to comment Share on other sites More sharing options...
JohnSte Posted June 1, 2012 Author Share Posted June 1, 2012 Yeah, you have to register as a potential customer to download it, and I didn't want to ask anyone to jump through that hoop. This didn't work for me, unfortunately - neither did running it with the text in the second parameter. But thanks for the idea! 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