Code: Select all
LButton::
KeyWait, %A_ThisHotkey%, T.3
If ErrorLevel ; Held
While GetKeyState(A_ThisHotkey, "P") {
Send 1
Sleep, 15
}
Else Click
Return
Basically what i want is when i hit left mouse button i want it to hit number 2, and then i want it to upon holding left mouse button to hit 1 after the .3 delay. So i want the hold part of the macro to remain the same, i just want the beginning click to hit 2 instead if it hitting the normal left click action. I know that i will lose the normal functionality of left click.