Jump to content
Sign in to follow this  
Maches

How to get updated text of label?

Recommended Posts

Maches

Hello,

I would like to get text from label using ControlGetText function.

But when I open program I have login box first with label = "Log In", but when I login into program the label changed name to "Hello Sir".

I wrote a code like this :

$label = ControlGetText("program", "", "[NAME:Label5]")
Do
    sleep(100)
    MsgBox("Lal","lal",$label)
Until $label = "Hello Sir"

 

When I have Login Panel the message box is "Log in" ... and its ok.. but after I Log in still I have text on label "Log In" .... not Hello Sir... :<

How can I update the text of the same label?

Edited by Maches

Share this post


Link to post
Share on other sites
Maches

Close topis please. I found a problem:)

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.