Maches Posted April 1, 2016 Share Posted April 1, 2016 (edited) 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 April 1, 2016 by Maches Link to comment Share on other sites More sharing options...
Maches Posted April 1, 2016 Author Share Posted April 1, 2016 Close topis please. I found a problem:) 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