Jump to content
Sign in to follow this  
abix

Using Controlgettext With "label" Controls?

Recommended Posts

abix

How can i get text of a label control? is it possible?

Share this post


Link to post
Share on other sites
CyberSlug

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!

Share this post


Link to post
Share on other sites
abix

What if AutoIt Spy cannot detect the label? But it is there i see it :D

Share this post


Link to post
Share on other sites
abix

So thanks for help but i found a another way to solve my problem without getting label text... this time :D

Btw the program is sms.exe. I doubt you know it.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.