求一款可以在w7使用的捕获窗口文字的软件

求一款可以在W7使用的捕获窗口文字的软件,以前XP用的TextCatch,现在W7各种出错

专门为这个找个软件没啥意思, 通常我都是用ahk代码

;==================================================
;** 快捷键 F10 获取无法复制的文字
;==================================================
F10::
CoordMode,Mouse,Screen
MouseGetPos,x0, win_id, ctrl_id
WinGetTitle, win_title, ahk_id win_id
ControlGetText, ctrl_text, ctrl_id, ahk_id win_id
ActiveWinTitle := MouseIsOverTitlebar()
If ActiveWinTitle!=0 ;鼠标下是标题栏
{
ToolTip, 复制标题栏内容: n %win_title% clipboard=%win_title% } else ;鼠标下是控件 { ToolTip, 复制控件内容:n ctrl_text
clipboard=ctrl_text
}
loop
{
MouseGetPos,x1 ;鼠标挪动取消提示框
if x1!=x0
{
tooltip
break
}
}
return

MouseIsOverTitlebar(HeightOfTitlebar = 30)
{
	WinGetActiveStats,ActiveTitle,width,height,xPos,yPos
	MouseGetPos,x,y
	If ((x >= xPos) && (x = yPos) && (y <= yPos + HeightOfTitlebar))
		Return,%ActiveTitle%
	Else
	Return,false
}

Return

如果要是需求很严重,可以试试GetWindowText

这个是qdir作者的一个软件. GetWindowText 4.77 Download

搭车问一下有没有捕获windows控件文字的软件,像coralspy那样可以抓取syslistview32之类控件内容的。coralspy可以保存为文本文件,但只能整个存下来,不能选择行或者列再保存

Textify

1 个赞

自答:SysExporter: Grab data from list-view, tree-view, combo box, WebBrowser control, and text-box.