1
votes

I trying to create two hotkey

One for Lbutton:: "Left mouse button (single click)" another for Left mouse button (only if holding, maybe if more than 0.2 seconds)

Or there is key list like Lbutton Down:: and Lbutton Up::?

1

1 Answers

0
votes

I would use keyWait like this

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
}