Yantao Xie
Yantao Xie

Reputation: 12896

Win->Alt key remapping in AutoHotKey can not work well

I wrote a AutoHotKey script to remap LWin to LAlt

LWin::LAlt
LWin & Tab::AltTab

LWin+Tab works OK. But I found, for example in my emacs, LWin+b can not work as Alt+b. And if I disable this statment

LWin & Tab::AltTab

LWin+b works. But I know LWin+Tab will not works very good without this remapping statement as mentioned in AutoHotKey Remapping.

Upvotes: 0

Views: 1896

Answers (1)

Alfred
Alfred

Reputation: 26

I'm not entirely sure why, but it seems the first key mapped can only be declared once. I have found a solution (although not perfect) of writing the second command as so: Tab & LWin::AltTab. This means that you have to hold Tab down first though.

Upvotes: 1

Related Questions