Jump to content

Can't get text into control


Recommended Posts

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

post-73106-0-99752900-1338505284_thumb.p

Link to comment
Share on other sites

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

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
 Share

  • Recently Browsing   0 members

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