
答案1
你可以簡單地做到這一點自動熱鍵。
Up::
Send {RShift down}
KeyWait Up
Send {RShift up}
return
此函數會偵聽向上箭頭鍵,發送按住的右移鍵,等待向上鍵釋放,然後發送右移釋放鍵。簡單的!
如果您是 AutoHotKey 的新手,請安裝它,然後右鍵單擊該圖示並按一下「編輯此腳本」。貼上上述程式碼,將其保存在記事本中,然後再次右鍵單擊應用程式圖標並單擊“重新加載此腳本”。走吧。
相關文件/資訊: https://autohotkey.com/docs/commands/Send.htm https://autohotkey.com/board/topic/11321-can-autohotkey-hold-down-a-key/