Jump to content

Confirm Text placed into a field.


jessem
 Share

Recommended Posts

Without using any aspect of the clipboard, is there a way to confirm text was placed in an input box? (this input box is on a seperate application, Autoit places data into that field, however, I need a way to confirm that text was placed in that field... However, I can not use a copy and paste function (ie clipboard.)

Any ideas would be greatly welcome !

Thank you kindly.

Link to comment
Share on other sites

You can use ControlSetText() to paste text and use ControlGetText() to retrieve it.

Edit: extended info.

Unfortunatly this fuction isnt working for me. ( I believe its because the application I'm trying to use Autoit with is Javabased.) But to confirm.

$var = ControlGetText("Name of Application", "Lable Description Name", "")

Let me know if i'm missunderstanding something above.

By the way, thank you for the quick responce.

Link to comment
Share on other sites

Your not seeing a ControlID, are you ? I have never had much luck with automating Java programs. This may need to be done at a Com level of automation perhaps with the Beta version of AutoIt. I normally pass on Java applications for their strange overall differences compared to programs made with C++.

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