Jump to content
Sign in to follow this  

Read text of a control that is not shown under Visible Text using AutoIt Window Info tool

Recommended Posts



I have a window inside which I have a Control. I can read the Class and Instance of this control using AutoIt Window Info, but the Visible Text column does not display the text that is visible inside this control. Hence, I am not able to read the text using ControlGetText Function. Is there any other way to read this text? All I want to do is read the text that is being displayed under this control.

Share this post

Link to post
Share on other sites

I dont understand "I have a window inside which I have a Control." Are you looking at an autoit scripting window? Has the Control been made within Autoit?

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

Share this post

Link to post
Share on other sites

Are you talking about the "Visible Text" tab ? Did you look at the "Control" tab (Text) ?

Can you show us your code ? And a summary of what you see in the "Control" tab with AutoIt v3 Window Info

Share this post

Link to post
Share on other sites

This is the summary. 

>>>> Window <<<<Title: Documents
Class: CabinetWClass
Position: 279, 52
Size: 1355, 744
Style: 0x14CF0000
ExStyle: 0x00000100
Handle: 0x0000000000260C48

>>>> Control <<<<
Class: Internet Explorer_Server
Instance: 1
ClassnameNN: Internet Explorer_Server1
Advanced (Class): [CLASS:Internet Explorer_Server; INSTANCE:1]
Position: 800, 87
Size: 539, 566
ControlClick Coords: 168, 261
Style: 0x56000000
ExStyle: 0x00000000
Handle: 0x0000000000ED0520

>>>> Mouse <<<<
Position: 1255, 430
Cursor ID: 0
Color: 0xFFFFFF

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<
Address: C:\Users\some\path
Shell Preview Extension Host
Namespace Tree Control
Tree View

>>>> Hidden Text <<<<
Namespace Tree Control

As you can see here, the text is empty. But in the window, I can see the text.

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