Code: Select all
\::Suspend
*LButton::
Loop
{
SetMouseDelay 1
Click
If (GetKeyState("LButton","P")=0)
Break
}
I tried to setmousedelay 0 but that freezes the game.
I had one that was fine but i can't find it now.
Code: Select all
\::Suspend
*LButton::
Loop
{
SetMouseDelay 1
Click
If (GetKeyState("LButton","P")=0)
Break
}
Code: Select all
#NoEnv
; #Warn
SendMode Input
SetWorkingDir %A_ScriptDir%
SetBatchLines, -1
ListLines, Off
#SingleInstance, Force
#InstallKeybdHook
#InstallMouseHook
#UseHook
FileDelete, RapidFireScript.txt
StartTime := A_TickCount
*LButton::
SetMouseDelay 0
Loop
{
Click
If (GetKeyState("LButton","P")=0)
Break
ElapsedTime := A_TickCount - StartTime
StartTime := A_TickCount
if (ElapsedTime > 10)
FileAppend, % ElapsedTime . "`n", RapidFireScript.txt
}
Return
ExitApp
Escape::ExitApp
Users browsing this forum: No registered users and 63 guests