[英]How to map mouse left click to left shift key in AutoHotKey?
I need to map mouse left click to left SHIFT key and mouse right click to left ALT key for better productivity :P. 我需要将鼠标左键映射到左SHIFT键,将鼠标右键映射到左ALT键,以提高生产力:P。
But I DO NOT want to block any of key combinations like CTRL + SHIFT , SHIFT + CTRL etc. 但是我不想阻止任何组合键 ,例如CTRL + SHIFT , SHIFT + CTRL等。
So far, I'm able to get Alt + Tab functionality with ( LAlt & *::Suspend, On
). 到目前为止,我已经可以通过(
LAlt & *::Suspend, On
)获得Alt + Tab功能。
But can't make it work for shift key. 但是不能使其用于Shift键。
Issue's I need to resolve: 问题我需要解决:
1) not able to type in uppercase with shift + any_key
1)无法使用shift +
any_key
输入大写字母
2) key combinations not working like ctrl + shift + any_key
or shift + ctrl + any_key
2)组合键无法正常使用,如Ctrl + shift +
any_key
或shift + Ctrl + any_key
Here's my script so far: 到目前为止,这是我的脚本:
LAlt & *::Suspend, On
LShift::LButton
LAlt::RButton
Holding LEFT SHIFT key simulates the left click hold which is great and would like to keep it this way. 按住LEFT SHIFT键可以模拟左键按住,这很不错,并且希望保持这种方式。
See modifier symbols about the tilde prefix ( ~
) in particular. 请参见有关代字号前缀(
~
)的修饰符 。
~LShift::LButton
Hope this helps. 希望这可以帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.