简体   繁体   English

使用AutoHotKey解析.NET DataGridView

[英]Parsing a .NET DataGridView with AutoHotKey

I'd like to parse the grid in this dialog using AutoHotKey: http://f.imagehost.org/0423/Screenshot.png 我想使用AutoHotKey在此对话框中解析网格: http : //f.imagehost.org/0423/Screenshot.png

It's a modal dialog from a .Net application.. Using Reflector I've been able to find that the grid is a System.Windows.Forms.DataGridView. 这是来自.Net应用程序的模式对话框。使用Reflector,我已经发现网格是System.Windows.Forms.DataGridView。

I can easily parse the text cells using a hackish Send/Clipboard combination, but I need to tell apart the icons of the first column too.. Is there a way to do that using AutoHotKey? 我可以使用朴实的Send / Clipboard组合轻松解析文本单元格,但我也需要区分第一列的图标。是否可以使用AutoHotKey做到这一点?

作为记录,我最终使用了PixelSearch(查找当前行)和ImageSearch的组合来检测显示的图像。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM