我希望在平板電腦上點擊三下來執行諸如 ^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