Sign in to follow this  
Followers 0
Just_Plain_Cool

Help capturing text...

3 posts in this topic

Hello all,

I know that I can use WinExists to check for text in a program's window. Example:

If WinExists("Window Title", "Items handled  11 Records")

However, the number or items handled changes and the number is what I need to capture. It does show in Window Spy as:

>>>>>>>>>>>( Visible Window Text )<<<<<<<<<

Progress Bar

"Items handled" 11 Records

So Window Spy is able to capture it. Is there a way that I can capture this text???

Thanks for any help,

Just_Plain_Cool :ph34r:

Share this post


Link to post
Share on other sites



What about : WinGetText("title of the window") or if you also know the controlname then:ControlGetText ( "title", "text", "classnameNN" )


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Hi JdeB,

Thank you very much, that works perfectly. I'm learning AutoIt, and I'm getting better, but there are just soooo many capabilities, sometimes I miss the obvious!

Just_Plain_Cool :ph34r:

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