Make AutoHotKey ignore Alt as menu key

前端 未结 7 1926
情歌与酒
情歌与酒 2021-02-04 11:14

I\'m trying to use autohotkey to simulate elements of Mac keyboard on a PC (Windows) keyboard. My muscle memory reaches for the Command key for simple tasks like copying and pas

7条回答
  •  面向向阳花
    2021-02-04 12:08

    This prevents the left-hand side Alt key from activating the menu bar for most applications (under Windows 7 and AutoHotkey 1.1.11.01):

    ~LAlt Up:: return
    

    It doesn't work with Internet Explorer but I don't use IE often anyway. :)

    BTW, I also killed the annoying start menu popup via:

    ~LWin Up:: return
    ~RWin Up:: return
    

提交回复
热议问题