Jankins Posted July 29, 2014 Share Posted July 29, 2014 Hi All, Under Control tab of AutoIt Window Info program, the Value of the Text property has all the visible and hidden plain text. After set WinDetectHiddenText to be 1, however, ControlGetText can only get the visible plain text and WinGetText can get the visible plain text and some encrypted hidden text. How to get all the visible and hidden plain text like AutoIt Window Info program? Thanks. Link to comment Share on other sites More sharing options...
computergroove Posted July 29, 2014 Share Posted July 29, 2014 Can you provide an example? Please label: 1. The visible text 2. Some of the encrypted hiden text 3. All of the text and how you got that text(I am assuming that this is what you want but cant get) Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html Link to comment Share on other sites More sharing options...
Jankins Posted July 29, 2014 Author Share Posted July 29, 2014 (edited) Can you provide an example? Please label: 1. The visible text 2. Some of the encrypted hiden text 3. All of the text and how you got that text(I am assuming that this is what you want but cant get) The visible and hidden plain text are very long: ----------start line ---------- This is plain text ........ Extended element information: details is listed....... ---------end line ----------- The visible text filed is: ----------start line ---------- This is plain text ........ ---------end line ----------- The hidden text field is: ------start line ------ Extended element information: <dlgctrlid> ------end line ------ I use ControlGetText to get all visible text "This is plain text ......". I use WinGetText to get all visible text and hidden text "Extended element information:<dlgctrlid>". The <dlgctrlid> is not the plain text!!!!! Hope this is clearer. Thanks. Edited July 29, 2014 by Jankins Link to comment Share on other sites More sharing options...
Jankins Posted July 29, 2014 Author Share Posted July 29, 2014 (edited) I think I found the reason. THe <dlgctrlid> information is shown because there is another control in the windows. There is a "listview" control in the windows. However, I still couldn't get the right plain text out. Edited July 29, 2014 by Jankins Link to comment Share on other sites More sharing options...
computergroove Posted July 30, 2014 Share Posted July 30, 2014 I spent too much time trying to find the control id of the window. Can you share some of your code? How are you finding the control ID? Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html 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