简体   繁体   English

Win-> Alt键在AutoHotKey中的重新映射无法正常工作

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

I wrote a AutoHotKey script to remap LWin to LAlt 我写了一个AutoHotKey脚本将LWin重新映射为LAlt

LWin::LAlt
LWin & Tab::AltTab

LWin+Tab works OK. LWin + Tab可以正常工作。 But I found, for example in my emacs, LWin+b can not work as Alt+b . 但是我发现,例如在我的emacs中, LWin + b不能用作Alt + b And if I disable this statment 如果我禁用此陈述

LWin & Tab::AltTab

LWin+b works. LWin + b有效。 But I know LWin+Tab will not works very good without this remapping statement as mentioned in AutoHotKey Remapping . 但是我知道, 如果没有AutoHotKey Remapping中提到的此重新映射语句, LWin + Tab将无法很好地工作。

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. 我找到了这样写第二条命令的解决方案(尽管不是完美的):Tab&LWin :: AltTab。 This means that you have to hold Tab down first though. 这意味着您必须先按住Tab键。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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