dilipped Posted July 17, 2014 Share Posted July 17, 2014 Hi, 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. Link to comment Share on other sites More sharing options...
computergroove Posted July 18, 2014 Share Posted July 18, 2014 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 Link to comment Share on other sites More sharing options...
jguinch Posted July 18, 2014 Share Posted July 18, 2014 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 Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF Link to comment Share on other sites More sharing options...
dilipped Posted July 18, 2014 Author Share Posted July 18, 2014 This is the summary. expandcollapse popup>>>> 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 Name: Advanced (Class): [CLASS:Internet Explorer_Server; INSTANCE:1] ID: Text: 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 <<<< 1: >>>> ToolsBar <<<< >>>> Visible Text <<<< Address: C:\Users\some\path Documents Shell Preview Extension Host Namespace Tree Control Tree View ShellView >>>> Hidden Text <<<< Namespace Tree Control As you can see here, the text is empty. But in the window, I can see the text. Link to comment Share on other sites More sharing options...
jdelaney Posted July 18, 2014 Share Posted July 18, 2014 You should look into the _IE functions: _IEPropertyGet($oIE,"locationname") _IEPropertyGet($oIE,"locationurl") IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. 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