hi, im trying to make a left mouse click either on hold or looped.
It also needs to be disabled wiht another key.
How do i do that?
infinite left click loop
Re: infinite left click loop
Hallo,
try:
try:
Code: Select all
;while key Q hold, every 100 ms
q::
While, GetKeyState("q","P")
{
Click
Sleep, 100
}
Return
;On/Off with key W, every 100 ms
w::SetTimer, w Up,% (w:=!w)?100:"Off"
w Up::Click,,,%w%
;On/Off with left Shift: While LButton hold, every 100 ms
#IF GetKeyState("LShift","T")
*LButton::SetTimer, :X:☝, 100
:X:☝::Click
*LButton Up::SetTimer, :X:☝, Off
#IF
Re: infinite left click loop
hello, it should be 1 ckick, thjen activates hold mouse button, and cancel it wiht another button.
Re: infinite left click loop
Then perhaps:
Code: Select all
*q::Send, {Blind}{Click}{LButton Down}
;Q key: 1 click, then activates hold mouse button down
*w::Click Up
;W key: release left mouse button