我尝试将 F11 作为[鼠标左键单击],使用Autohotkey, F12 作为右键单击。
我尝试了下面的脚本。有人可以告诉我我做错了什么,或者可以做到吗?
F11::Send mouseClick left
return
答案 0 :(得分:0)
我找到了问题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