[英]How do I force shift up on AutoHotKey?
I want to change Ctrl + Shift + Z
to Ctrl + Y
so I made the below script:我想将
Ctrl + Shift + Z
更改为Ctrl + Y
所以我制作了以下脚本:
^+z::^y
This script sends Ctrl + Shift + Y
, which isn't quite what I want, so I changed it to:该脚本发送
Ctrl + Shift + Y
,这不是我想要的,所以我将其更改为:
^+z::
KeyWait LShift
Send ^y
Return
It works, but it causes kind of delay because I should up LShift in order to execute Send line.它可以工作,但它会导致某种延迟,因为我应该升 LShift 以执行发送行。
Is there any way to avoid this delay?有什么办法可以避免这种延迟?
Try尝试
^+z::
Send {Shift up}
Send ^y
Return
This should programmatically release the Shift key before Sending the ^y
input.这应该在发送
^y
输入之前以编程方式释放Shift键。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.