网页贴吧每次都要验证码(放一个粗糙的ahk)---说明 QQ右下脚有邮件提醒自动打开
#Persistent
#SingleInstance,force
;DetectHiddenWindows,on
SetTitleMatchMode,2
taget:="@qq.com" ;窗口必须在主窗口显示标题时 才有效
SetTimer, WatchWindows, 1000
return
WatchWindows:
WinGetPos, X, Y, Width, Height, %taget%
if (x>=A_ScreenWidth/2 and x<A_ScreenWidth) and (y>=A_ScreenHeight/2 and y<A_ScreenHeight)
MouseClick, Left, 1120, 760 ;参数不咋可靠,自己调试下
Return
+Esc::
SetTimer, WatchWindows,Off
Return
#Persistent
#SingleInstance,force
;DetectHiddenWindows,on
SetTitleMatchMode,2
taget:="@qq.com" ;窗口必须在主窗口显示标题时 才有效
SetTimer, WatchWindows, 1000
return
WatchWindows:
WinGetPos, X, Y, Width, Height, %taget%
if (x>=A_ScreenWidth/2 and x<A_ScreenWidth) and (y>=A_ScreenHeight/2 and y<A_ScreenHeight)
MouseClick, Left, 1120, 760 ;参数不咋可靠,自己调试下
Return
+Esc::
SetTimer, WatchWindows,Off
Return