简体   繁体   中英

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 .

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM