AutoHotKey 设置qq聊天清屏

每次聊天时喜欢使用右键清屏,使用脚本来简化这一流程

#IfWinActive ahk_class TXGuiFoundation
{
!w::
CoordMode, Mouse, Relative
MouseGetPos, xpos, ypos
MouseMove 360, 200
Sleep 200 ;防止窗口最大化时被还原
MouseClick, right, 360, 200
Sleep 100
Send {Up}
Sleep 100
Send {Enter}
Sleep 200
MouseMove %xpos%, %ypos%
return
}
#IfWinActive

来源:http://ahk8.com/thread-6059.html

你可能感兴趣的:(AutoHotKey 设置qq聊天清屏)