Jump to content

Help capturing text...


Recommended Posts

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:

Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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