GregOH Posted October 4, 2018 Posted October 4, 2018 I have one application running and I used Autoit Window Info to get the basic control info which is showing below, the contents of the form just like a data grid, displaying row by row of data with column name, I am wondering if possible to read contents of this window, so I can get the 1st row of data. Window <<<< Title: 1 candles up Class: WindowsForms10.Window.8.app.0.1a8c1fa_r6_ad1 Position: -1342, 307 Size: 996, 675 Style: 0x16CF0000 ExStyle: 0x00050100 Handle: 0x0000000010660F66 Control <<<< Class: WindowsForms10.Window.8.app.0.1a8c1fa_r6_ad1 Instance: 6 ClassnameNN: WindowsForms10.Window.8.app.0.1a8c1fa_r6_ad16 Name: dataGridView1 Advanced (Class): [NAME:dataGridView1] ID: 395416 Text: Position: 0, 0 Size: 980, 636 ControlClick Coords: 488, 120 Style: 0x56010000 ExStyle: 0x00000000 Handle: 0x0000000000060898 Mouse <<<< Position: -846, 458 Cursor ID: 0 Color: 0x00FF00 StatusBar <<<< ToolsBar <<<< Visible Text <<<< Hidden Text <<<< elementHost1 Thanks Greg
Juvigy Posted October 8, 2018 Posted October 8, 2018 Check you the 'Control' functions and examples from the help file.
caramen Posted October 8, 2018 Posted October 8, 2018 ControlGetText ( "title", "text", controlID ) My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki
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