Jump to content

Getting "Visible text"


Edno
 Share

Recommended Posts

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

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

  • 3 weeks later...

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...