0
我试图获得F11充当[鼠标左键],带有Autohotkey和F12右键单击。F11的行为与使用Autohotkey时的鼠标左键一样,F12如右键点击一样?
我试过下面的脚本。有人可以告诉我我做错了什么,或者不能这样做吗?
F11::Send mouseClick left
return
我试图获得F11充当[鼠标左键],带有Autohotkey和F12右键单击。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