F11 相当于使用 Autohotkey 单击鼠标左键,而 F12 相当于单击鼠标右键?
F11 act like left mouseclick with Autohotkey, and F12 as right mouseclick?
我尝试让 F11 充当 [鼠标左键],使用 Autohotkey,F12 充当鼠标右键。
我尝试了下面的脚本。有人可以告诉我我做错了什么,或者不能做吗?
F11::Send mouseClick left
return
我找到了问题的答案 here。
F11::
Send {LButton Down}
KeyWait F11
Send {LButton Up}
Return
F12::
Send {RButton Down}
KeyWait F12
Send {RButton Up}
Return
以及我在那个网站上找到的解释:
a:: ;"a" key on key board :)
Send {LButton Down} ;Press left mouse button
KeyWait a ;wait for release of "a"
Send {LButton Up} ;release Left Mouse button
Return ;End Hotkey
我尝试让 F11 充当 [鼠标左键],使用 Autohotkey,F12 充当鼠标右键。
我尝试了下面的脚本。有人可以告诉我我做错了什么,或者不能做吗?
F11::Send mouseClick left
return
我找到了问题的答案 here。
F11::
Send {LButton Down}
KeyWait F11
Send {LButton Up}
Return
F12::
Send {RButton Down}
KeyWait F12
Send {RButton Up}
Return
以及我在那个网站上找到的解释:
a:: ;"a" key on key board :)
Send {LButton Down} ;Press left mouse button
KeyWait a ;wait for release of "a"
Send {LButton Up} ;release Left Mouse button
Return ;End Hotkey