【发布时间】:2016-10-11 14:29:56
【问题描述】:
我尝试让 F11 充当 [鼠标左键],使用 Autohotkey,而 F12 充当鼠标右键。
我尝试了下面的脚本。谁能告诉我我做错了什么,或者不能做吗?
F11::Send mouseClick left
return
【问题讨论】:
标签: autohotkey
我尝试让 F11 充当 [鼠标左键],使用 Autohotkey,而 F12 充当鼠标右键。
我尝试了下面的脚本。谁能告诉我我做错了什么,或者不能做吗?
F11::Send mouseClick left
return
【问题讨论】:
标签: autohotkey
我找到了问题的答案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
【讨论】: