Edno Posted February 11, 2009 Share Posted February 11, 2009 Hi, I try to get text from a window, the text is available when using "AutoIt v3 Window Info", but when I use the WindowGetText the result is empty. Does anyone know the script used in the Au3Spy's tab "Visible text" ? Regards, Edno. Link to comment Share on other sites More sharing options...
Manjish Posted February 11, 2009 Share Posted February 11, 2009 Hi, I try to get text from a window, the text is available when using "AutoIt v3 Window Info", but when I use the WindowGetText the result is empty. Does anyone know the script used in the Au3Spy's tab "Visible text" ? Regards, Edno. used this: msgbox(4096,"",WinGetText("AutoIt Forums -> General Help and Support - Microsoft Internet Explorer","")) works perfectly.. [font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com Link to comment Share on other sites More sharing options...
Edno Posted February 11, 2009 Author Share Posted February 11, 2009 It doesn't work with my application, but fortunately I've found an other solution to solve my issue. Link to comment Share on other sites More sharing options...
brennanyoung Posted March 1, 2009 Share Posted March 1, 2009 I am also having trouble with this. Trying to get the text of a code editor - something better than notepad preferably - perhaps notepad++ or (best of all) Dreamweaver. If I use the advanced mode for getting the window, I get the contents of the 'visible text' panel from window info, but all the actual text - the text I really want - appears to be a bunch of little squares (non-printable characters?). Is this a text encoding issue? How do I convert those 'little squares' into the text I actually see in the window, and how to I seperate the 'little squares' from the rest of the visible text (button lábels etc.) ??? 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