Disable Windows key during a game
I’ve gotten back into playing Diablo 2, and I accidentally hit the Windows key every now and then, which minimizes the game. Here’s the code to disable that key via AutoHotkey while Diablo 2 is open and active:
#IfWinActive Diablo II { ~LWin Up::Return ~RWin Up::Return }
Leave a Reply