mouse v8 macros

Posts 1–2 of 2 · Page 1 of 1
mouse v8 macros
How can i make my norecoil macros work only when rightclick is holded?
Sorry if wrong section
still actual, help me please. Managed to code it on ahk, look:
Code:
#NoEnv
SendMode Input
~F1::Suspend
~End::ExitApp


~Rbutton & LButton::

Loop
{
Sleep 30
        moveAmount := (moveAmount = 1) 
        mouseXY(moveAmount,1)

GetKeyState, state, Lbutton, P
if state=u
break
}

return

 
 
mouseXY(x,y)
{
DllCall("mouse_event",int,1,int,x,int,y,uint,0,uint,0)
}
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us