Autohotkey 自动热键两个不同的热键Lbutton和Lbutton down
我正在尝试创建两个热键 一个用于Lbutton::“鼠标左键(单击)” 另一个用于鼠标左键(仅当按住时,可能超过0.2秒时) 或者有像Lbutton Down::和Lbutton Up::这样的键列表?我会这样使用Autohotkey 自动热键两个不同的热键Lbutton和Lbutton down,autohotkey,Autohotkey,我正在尝试创建两个热键 一个用于Lbutton::“鼠标左键(单击)” 另一个用于鼠标左键(仅当按住时,可能超过0.2秒时) 或者有像Lbutton Down::和Lbutton Up::这样的键列表?我会这样使用 LButton:: { ;wait for the mouse button to be let go, set 0.2 second timeout KeyWait, LButton, T0.2 if(ErrorLevel) { MsgBox holding dow
LButton::
{ ;wait for the mouse button to be let go, set 0.2 second timeout
KeyWait, LButton, T0.2
if(ErrorLevel)
{ MsgBox holding down
} else
{ MsgBox clicked
}
return
}