Jump to content

Recommended Posts

Posted

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.

Posted (edited)

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

Edit: extended info.

Edited by MHz
Posted

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.

Posted

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

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
×
×
  • Create New...