Hello everyone,
I am new tho this.
Can someone provide me a script like , holding RightClick for 5 seconds then release for 5 seconds then again hold it for 5 seconds. doing like that untill i stop it.
Would appreciate.
Thanks
Anap
hold right click for a certain time
Re: hold right click for a certain time
Code: Select all
#MaxThreadsPerHotkey 2
wait := 5000
F3::
go := !go
While go {
SoundBeep, 1500, 30
Click, right, down
Sleep, go ? wait : 0
SoundBeep, 1000, 30
Click, right, up
Sleep, go ? wait : 0
}
Return
Re: hold right click for a certain time
how i can change the holding right click time time? and thee releasing click time?
would appreciate it,thanks
would appreciate it,thanks
Re: hold right click for a certain time
Replace wait inside the While loop. You can put the number of milliseconds there.
Or:
Or:
Code: Select all
#MaxThreadsPerHotkey 2
holdTimeSec := 5
releaseTimeSec := 5
F3::
go := !go
While go {
SoundBeep, 1500, 30
Click, right, down
Sleep, go ? holdTimeSec * 1000 : 0
SoundBeep, 1000, 30
Click, right, up
Sleep, go ? releaseTimeSec * 1000 : 0
}
Return
Re: hold right click for a certain time
thanks alot for help.
Appreciate it.
Appreciate it.