AHK从其他程序窗口中提取数据 - 洛阳翼展电脑


AHK从其他程序窗口中提取数据

2025-2-27 乱云飞

#Persistent
SetTitleMatchMode, 2
DetectHiddenWindows, On
;等待目标窗口出现
WinWait, ahk_exe EyeWeapon.exe ahk_class _EyeWeaponS
WinGet, hWnd, ID, ahk_exe EyeWeapon.exe ahk_class _EyeWeaponS
;获取EDIT3内容
ControlGetText, edit3Content, Edit3, ahk_id %hWnd%
;显示结果(可根据需要修改为其他操作)
MsgBox, ID:%edit3Content%
ExitApp
本文链接:http://80c.cc/ez/816.html
0

发表评论:

VirtualCamera:在录像机中虚拟一个通道显示电脑桌面、视频文件、USB摄像头~
预ICP备10086-001号 © 翼展网/80C.CC 技术支持/洛阳翼展科技
TEL / 13213610060 QQ / 345794501
Powered by emlog