Spam T when holding Left Mouse Click
-
- Posts: 2
- Joined: 25 Jul 2017, 14:10
Spam T when holding Left Mouse Click
I need a script to repeatedly press or spam T when holding left mouse click.I dont need it to spam fast, maybe once every second or half a second. Does anybody have one? thanks!
Re: Spam T when holding Left Mouse Click
Hallo,
try:
try:
Code: Select all
~LButton::
While, GetKeyState("LButton","P")
{
Send, t
Sleep, 500
}
Return
-
- Posts: 216
- Joined: 30 Jun 2016, 06:01
Re: Spam T when holding Left Mouse Click
Rottweiler's script won't work.
This should work. You can toggle it on/off with the F1 key.
This should work. You can toggle it on/off with the F1 key.
Code: Select all
F1::
Toggle := !Toggle
Return
#If (Toggle)
LButton::
SetTimer, LMouse, 500
KeyWait, LButton
SetTimer, LMouse, Off
Return
#If
LMouse:
Send t
Return
Re: Spam T when holding Left Mouse Click
Where is the script from Rottweiler?
-
- Posts: 216
- Joined: 30 Jun 2016, 06:01
Re: Spam T when holding Left Mouse Click
Rohwedder wrote:Hallo,
try:Code: Select all
~LButton:: While, GetKeyState("LButton","P") { Send, t Sleep, 500 } Return
Who is online
Users browsing this forum: No registered users and 133 guests