我希望在平板电脑上单击三次来执行诸如 ^w(关闭 chrome 窗口)之类的操作。
我尝试使用“RapidHotkey”脚本,但无济于事。非常感谢您的帮助。非常感谢。
答案1
按照OP的说法:
~LButton::
if winc_presses > 0 ; SetTimer already started, so log keypress instead
{
winc_presses += 1
Return
}
winc_presses = 1
SetTimer, TheKey, 600
Return
TheKey:
SetTimer, TheKey, off
if winc_presses = 3 ; The key was pressed thrice
{
send ^w
}
winc_presses = 0
Return