看板 EzHotKey 關於我們 聯絡資訊
※ 引述《Chemise ()》之銘言: : 想做到按一下 Left 後AHK自動按住 left : 按Right 取消按住的left 改按住right : 按A 取消之前按住的按鍵改按住A : 按B 取消之前按住的按鍵改按住B : 設一個停止鍵X 按下後取消之前按住的按鍵 : 我寫到按住後就不知道怎寫了,不知道怎取消之前按住的按鍵 : 請問大神這整個架構該怎麼寫比較好? : 感謝 $a:: SendInput, {d up} SendInput, {a down} return $d:: SendInput, {a up} SendInput, {d down} return x:: SendInput, {a up}{d up} return 用 {x up} 的語法能取消按下的按鍵 https://www.autohotkey.com/docs/commands/Send.htm#Repeating_or_Holding_Down_a_ Key -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 27.52.167.58 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/EzHotKey/M.1628515058.A.925.html
Chemise: 非常感謝大大,這方向可行,之前想太複雜了 08/11 17:49
Chemise: 發現個問題,設定的按鍵數量一多,會有點卡orz 08/12 13:29