abix Posted April 18, 2004 Posted April 18, 2004 How can i get text of a label control? is it possible?
CyberSlug Posted April 18, 2004 Posted April 18, 2004 It is usually possible.1) Use the "AutoIt Window Spy" program (it should be in the AutoIt folder) to get the name of the label. Names are typically "Static1", "Static2", and so on.2) Try ControlGetText("WindowTitle", "", "Static1") adjusting the window title and label name as needed. Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
abix Posted April 18, 2004 Author Posted April 18, 2004 What if AutoIt Spy cannot detect the label? But it is there i see it
CyberSlug Posted April 18, 2004 Posted April 18, 2004 Well, hmm. What is the program? The program might not be using standard label controls. This is the case with Mozilla and Microsoft Word, for example. You might not be able to get the text with AutoIt Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
abix Posted April 18, 2004 Author Posted April 18, 2004 So thanks for help but i found a another way to solve my problem without getting label text... this time Btw the program is sms.exe. I doubt you know it.
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