Combine two scripts in to one

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
HappyC
Posts: 1
Joined: 17 May 2016, 12:04

Combine two scripts in to one

18 Nov 2017, 11:34

I found 2 scripts and i wold like some one with more
knowledge in ahk then me to merge this two together
Tnx

-------------------------------------------------------------
Script 1

*LButton::
{
Send {LButton down}{RButton down}
While GetKeyState("LButton","P")
{
; do nothing
}
Send {LButton up}{RButton up}
}
Return
--------------------------------------------------------------

Script 2

SendMode Input

~LButton::
Loop
If GetKeyState("LButton") {
Sleep, 65
moveAmount := (moveAmount = 2) ? 3 : 0
mouseXY(moveAmount,4.9)

}
else
break

Return

mouseXY(x,y)
{
DllCall("mouse_event",int,1,int,x,int,y,uint,0,uint,0)
}

-------------------------------------------------------------------

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Chunjee, CrowexBR, Google [Bot], Rohwedder and 202 guests