level 1
大司马郭祀
楼主
我写了一个双击关闭标签页的脚本,但是智能判断激活的EXE,我想要用路径判定。。这样我有些支持双击关闭的chrome壳浏览器双击关闭就可以正常使用了
#NoTrayIcon
#NoEnv
#SingleInstance force
#IfWinActive ahk_exe chrome.exe
~LButton::
{
MouseGetPos,xpos, ypos
WinGet,Mom,MinMax
If ((ypos>45) or (Mom<1))
return
If (A_PriorHotkey="~LButton") and (A_TimeSincePriorHotkey<250)
send ^w
}
2021年10月08日 10点10分
1
#NoTrayIcon
#NoEnv
#SingleInstance force
#IfWinActive ahk_exe chrome.exe
~LButton::
{
MouseGetPos,xpos, ypos
WinGet,Mom,MinMax
If ((ypos>45) or (Mom<1))
return
If (A_PriorHotkey="~LButton") and (A_TimeSincePriorHotkey<250)
send ^w
}