Just_Plain_Cool Posted July 14, 2004 Share Posted July 14, 2004 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 Link to comment Share on other sites More sharing options...
Developers Jos Posted July 14, 2004 Developers Share Posted July 14, 2004 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 More sharing options...
Just_Plain_Cool Posted July 14, 2004 Author Share Posted July 14, 2004 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now