3月52020
Au3获取屏幕坐标(或鼠标)下的窗体信息
#include <WinApiex.au3>
sleep(3000) ;移动鼠标到窗口的时间
Local $pos = MouseGetPos()
Local $tpoint = _WinAPI_CreatePoint($pos[0], $pos[1])
Local $hwnd = _WinAPI_WindowFromPoint($tpoint)
MsgBox(64, "", "窗口句柄:" & $hwnd & @CRLF & _
"窗口类名:" & _WinAPI_GetClassName($hwnd) & @CRLF & _
"窗口标题:" & WinGetTitle($hwnd))
扫描二维码,在手机上阅读
发表评论
木有头像就木JJ啦!还木有头像吗?点这里申请属于你的个性Gravatar头像吧!