Sign in to follow this  
Followers 0
jessem

Confirm Text placed into a field.

5 posts in this topic

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.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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

Edit: extended info.

Edited by MHz

Share this post


Link to post
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.

Share this post


Link to post
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++.

Share this post


Link to post
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
Sign in to follow this  
Followers 0