kesavan Posted July 25, 2017 Share Posted July 25, 2017 I need to read or get the text from label or textblock from a window. PFA for more details Help would be appreciated. Thanks in advance. Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted July 25, 2017 Share Posted July 25, 2017 @kesavan Welcome to the AutoIt forum Do you have to read "myfirstname" ? Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
kesavan Posted July 25, 2017 Author Share Posted July 25, 2017 No. I have to read "First Name" or "Last Name" Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted July 25, 2017 Share Posted July 25, 2017 5 minutes ago, kesavan said: No. I have to read "First Name" or "Last Name" The two labels? For which purpose, If I can ask? Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
kesavan Posted July 25, 2017 Author Share Posted July 25, 2017 There is a Label in my window. There is a combo box and it has some list of values. For eg: 1, 2, 3. If I choose 2 from combo box, it will write text in the label. I need to read the text of the label Link to comment Share on other sites More sharing options...
Developers Jos Posted July 25, 2017 Developers Share Posted July 25, 2017 So this is another application and not your own GUI in the script? If so, use au3info to get the control information and use the ControlGetText() function to get the information from the window. Jos 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...
FrancescoDiMuro Posted July 25, 2017 Share Posted July 25, 2017 @kesavan Yeah, @Jos is right. Let us know if you managed to do what you're trying to do Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
kesavan Posted July 26, 2017 Author Share Posted July 26, 2017 I tried the same. But, In AutoIt v3 window info tool, I am not able to find the ID of the control (in this case Lable) 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