Code: Select all
$LButton::
Loop
{
if not GetKeyState("LButton", "P")
break
Click
}
return
But the "K" button toggling it on and of would be AMAZING
Code: Select all
$LButton::
Loop
{
if not GetKeyState("LButton", "P")
break
Click
}
return
Code: Select all
$LButton::
While, GetKeyState("LButton", "P")
Click
Return
k::Suspend
Code: Select all
$LButton::
SetMouseDelay, 33
;10 + (1000/15 - 1000/23) = 33.188
While, GetKeyState("LButton", "P")
Click
Return
k::Suspend
Code: Select all
$LButton::
{
While GetKeyState("LButton", "P")
Click
Return
}
Esc::ExitApp
Code: Select all
#Requires AutoHotkey v2.0-
$LButton::
{
While GetKeyState("LButton", "P")
Click
}
#SuspendExempt
k::Suspend
Esc::ExitApp
#SuspendExempt False
oh man, thanks to reply ,but i just have tried you give this scrip , problem is still same ,oh man ,have you tried it ? the left button is keeping click , out of control. mybe is my problem , I will restart my pc.and try it again.Rohwedder wrote: ↑06 Jan 2023, 07:16Hallo, no problems here with:Code: Select all
#Requires AutoHotkey v2.0- $LButton:: { While GetKeyState("LButton", "P") Click } #SuspendExempt k::Suspend Esc::ExitApp #SuspendExempt False
Code: Select all
shootSec = 2
waitSec = 1
MButton Up::on := False
MButton::
on := True
While on {
end := A_TickCount + 240 * shootSec
While (A_TickCount < end && on)
Click
Loop, % 2 * waitSec
Sleep, 150 * on
}
Return
Code: Select all
shootSec = 2
waitSec = 1
MButton Up::on := False
MButton::
on := True
While on
{
end := A_TickCount + 240 * shootSec
While (A_TickCount < end && on)
{
Click
SoundBeep, 4000, 20 ;high Beep
}
Loop, % 2 * waitSec
Sleep, 150 * on
SoundBeep, 2000, 20 ;medium Beep
}
SoundBeep, 1000, 20 ;low Beep
Return
dude0x wrote: ↑06 Jan 2023, 07:36oh man, thanks to reply ,but i just have tried you give this scrip , problem is still same ,oh man ,have you tried it ? the left button is keeping click , out of control. mybe is my problem , I will restart my pc.and try it again.Rohwedder wrote: ↑06 Jan 2023, 07:16Hallo, no problems here with:Code: Select all
#Requires AutoHotkey v2.0- $LButton:: { While GetKeyState("LButton", "P") Click } #SuspendExempt k::Suspend Esc::ExitApp #SuspendExempt False
Code: Select all
~LButton::
{
While GetKeyState("LButton")
Click
Return
}
f2::ExitApp
Rohwedder wrote: ↑06 Nov 2017, 11:58Hallo,
try:Code: Select all
$LButton:: While, GetKeyState("LButton", "P") Click Return k::Suspend
Code: Select all
#NoEnv
SetBatchLines, -1
SetMouseDelay, -1
$LButton::
While, GetKeyState("LButton", "P")
{
Click
Sleep 80
}
Return
k::Suspend
Thanks for that but i had a question, do you know any softwares that hold autoclick click like that? I tried one named speedautoclicker it worked exactly how i wanted but unfortunately that was a virus.Rohwedder wrote: ↑04 Feb 2023, 06:03This clicks 12.8 CPS here:Adjust your CPS with the Sleep.Code: Select all
#NoEnv SetBatchLines, -1 SetMouseDelay, -1 $LButton:: While, GetKeyState("LButton", "P") { Click Sleep 80 } Return k::Suspend
I use for CPS measurement:ClickMe4.ahk
Rename it to ClickMe4.html
Reset averaging with F5 during measurement.
Can I get it to click exact 12 cps?Rohwedder wrote: ↑04 Feb 2023, 06:03This clicks 12.8 CPS here:Adjust your CPS with the Sleep.Code: Select all
#NoEnv SetBatchLines, -1 SetMouseDelay, -1 $LButton:: While, GetKeyState("LButton", "P") { Click Sleep 80 } Return k::Suspend
I use for CPS measurement:ClickMe4.ahk
Rename it to ClickMe4.html
Reset averaging with F5 during measurement.
Users browsing this forum: No registered users and 31 guests