autohotkey

How to set key(tab key) to nothing using Autohotkey


Basically my tab key for some reason keeps spamming, I went to a repair shop and they couldn't figure it out. We tried removing the key to try to fix the problem to check if maybe a crumb got left or something. I used to have the same problem with the k key. Now neither key works when I press them, they have mind of their own.

So my idea is to set these keys to nothing so that it stops interfering with my work flow.

I tried setting them to a useless key but the problem is that everytime it spams, I cant move my mouse.


Solution

  • Alright, I figured it out, how to replace the tab key with nothing, in you're .ahk file, simply type one line: Tab::return.

    Then you can remap the tab key to something else like you're right alt using another .ahk file, add this line in that file: RAlt::Tab.