Jump to content

autoit doesn't send


 Share

Recommended Posts

Hi,

I'm new to autoit. I'm tring to automate the insert of a password in a field and the selection of a radiobutton.

I've started with the field, this is the first window, that is really simple

Schermata_2015-08-31_alle_20.15.38.thumbSchermata_2015-08-31_alle_20.16.55.thumb

I've used the utility to catch the instance number and class type, and have done this simple script:

WinWaitActive("Deep Freeze Standard")
ControlSend("Deep Freeze Standard", "", "[CLASS:TEdit; INSTANCE:1]", "test")

THe problem is that it doesn't work. I've tried many different thing, like the #RequireAdmin, or use the Send, but it doesn't work.

I've tried to catch a text from that field, and that worked:

ControlGetText("Deep Freeze Standard", "", "[CLASS:TEdit; INSTANCE:1]")

I've tried many other action, but none of that worked. It's like a read-only access

 

Any solution?

How can I debug or have more information?

 

Thanks to all

Byez

Link to comment
Share on other sites

? try to change "test" with "test{ENTER}" in the ControlSend

thanks for the answer.

I've tried it, but nothing changed.

It seam like the application doesn't accept command (I've tried a move windows and other stuff like that, but noone worked)

 

Don't know if there's an other way to insert the data (like doing the keyword and mouse action, but I think that the Send command to that)

Link to comment
Share on other sites

 ......

I've tried to catch a text from that field, and that worked:

ControlGetText("Deep Freeze Standard", "", "[CLASS:TEdit; INSTANCE:1]")

......

you say that ControlGetText worked,

what do you get from above ControlGetText? a previously send string or what else?

also did you try with ControlSetText()?

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

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...