Posted below is the actual script I'm using so you can see what it does. What I'm trying too get too work is, after holding down LButton for 2 seconds the script goes inactive UNTIL I press LButton again.
If thats possible, could someone give me a hand?
Code:
#NoEnv
#SingleInstance Force
Process Priority,,High
SetKeyDelay -1
*LButton::
Loop
{
GetKeyState, szButtonState, LButton, P
if szButtonState = U
break
MouseClick, left,,, 1, 0, D
Sleep, 10
MouseClick, left,,, 1, 0, U
DllCall("mouse_event", uint, 1, int, 0, int, 2, uint,0, int,0 )
}
return