如何制作AutoHotKey脚本来修复我的键盘重复键问题



我不知道如何编程AutoHotKey,但我认为这对编程的人来说很容易。我的键盘有缺陷,当我违背我的意愿按下它时,它在重复E键。我按E,它会键入EE或EEE。这是解决这个问题的唯一关键。谢谢你的帮助。

*e:: ;When 'e' is pressd (with or without modifiers like `Shift` or `Alt`)
Send e ;Send 'e' to the computer
Sleep 1000 ;Then delay for a duration of one second [change to taste]
return

编辑:

我上面的代码";吃";当与e一起使用时,所有修改键,防止组合,如Shift+eAlt+e等。为了解决这个问题,我们可以使用热键"盲发送">

e新代码:

*e:: ;When 'e' is pressd (with or without modifiers like `Shift` or `Alt`)
Send {Blind}e ;Send 'e' blindly to the computer
Sleep 1000 ;Then delay for a duration of one second [change to taste]
return

最新更新