简体   繁体   English

AutoHotKey重新映射为Shift + Win

[英]AutoHotKey remapping to Shift+Win

I'm trying to remap a shortcut to Shift+Win, but it's not working at all for me. 我正在尝试将快捷方式重新映射到Shift + Win,但对我来说根本不起作用。 Here's what I have tried: 这是我尝试过的:

^RAlt::
KeyWait Alt
KeyWait Ctrl
Send, {LShift down}{LWin down}{LWin up}{LShift up}
return

It seems like this works for any other trigger than ^RAlt . 似乎这可以用于除^RAlt之外的任何其他触发器。 However, this trigger is a valid trigger because it works for something like sending text with AHK. 但是,此触发器是有效触发器,因为它适用于通过AHK发送文本之类的事情。 It seems like the problem lies with using this particular trigger and this action. 似乎问题出在使用此特定的触发器此操作。

也许增加睡眠

Send, {LShift down}{LWin down}

Sleep 50

Send, {LWin up}{LShift up}

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

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