Jump to content
Sign in to follow this  
Edno

Getting "Visible text"

Recommended Posts

Edno

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.

Share this post


Link to post
Share on other sites
Manjish

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

Share this post


Link to post
Share on other sites
Edno

It doesn't work with my application, but fortunately I've found an other solution to solve my issue.

Share this post


Link to post
Share on other sites
brennanyoung

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.) ???

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  

×