This wont work because it clicks too fast. You need a sleep function in the loopMrcrazypants2 wrote: ↑25 Dec 2018, 19:26just hit = to start or stop itCode: Select all
Pause ON loop { click } =::Pause
Auto Clicker Topic is solved
Re: Auto Clicker
Re: Auto Clicker
so if i wanted to click A continuously would i just change click to A?ButterZ wrote: ↑14 May 2020, 02:15You would change "click" to what ever button you want instead-snnail wrote: ↑04 May 2020, 12:28NEw to this what should i do to change to right click?TIAneomulemi6 wrote: ↑03 Jul 2016, 11:58This will click 12 times/second, toggled on/off with ctrl + z.
Code: Select all
#MaxThreadsPerHotkey 3 ^z:: Toggle := !Toggle Loop { If (!Toggle) Break Click Sleep 83 ; Make this number higher for slower clicks, lower for faster. } Return
Re: Auto Clicker
You would change "Click" into "SendInput, a"JonesJ wrote: ↑12 May 2021, 16:51so if i wanted to click A continuously would i just change click to A?ButterZ wrote: ↑14 May 2020, 02:15You would change "click" to what ever button you want instead-snnail wrote: ↑04 May 2020, 12:28NEw to this what should i do to change to right click?TIAneomulemi6 wrote: ↑03 Jul 2016, 11:58This will click 12 times/second, toggled on/off with ctrl + z.
Code: Select all
#MaxThreadsPerHotkey 3 ^z:: Toggle := !Toggle Loop { If (!Toggle) Break Click Sleep 83 ; Make this number higher for slower clicks, lower for faster. } Return
-
- Posts: 1
- Joined: 31 Oct 2021, 04:23
Re: Auto Clicker
Code: Select all
~LButton::
Loop
{
GetKeyState, LButtonState, LButton, P
if LButtonState = U
MouseClick, Left
Sleep 10
}
return
*F1::
Suspend
Pause, 1
return
*F2::
Suspend, 0
Pause, 0
return
*F4::
ExitApp
return
This is a better code F1 to start and F2 to start again
-
- Posts: 1
- Joined: 16 Mar 2022, 20:04
Re: Auto Clicker
please help me to create a hotkey code for my games, i need to use F1 for (skill) then click in center of screen one time then space for (teleport skill) then repeat from the top, unli skill and teleport, .but i need a key for activate this process, example ctrl+enter to activate those command and ctrl+enter to end command.
last favor, what is the 1st code to active the command while playing my games/application
last favor, what is the 1st code to active the command while playing my games/application
Re: Auto Clicker
hi please help me out i need an autoclicker when i hold my right mouse button it click 20 cps (right click) and when i stop holding it doesnt click please i tried one but i want it to work for all games
-
- Posts: 2
- Joined: 10 Apr 2022, 19:19
Re: Auto Clicker
You know you can search on sourceforge.net, but i'm working on an AHK script for that right now. It will be over 20 CPS, and easy to use. It takes a while for me, just started yesterday.
Re: Auto Clicker
I made an auto-clicker that toggles on and off with CTRL + Z for Minecraft, but you use it with your left and right mouse buttons, just hold down whichever button and it will spam it, I will post my entire Minecraft script, hopefully someone finds it useful
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetTitleMatchMode, 2
#MaxThreadsPerHotkey 3
MsgBox,, Keybinds!,
(
Ctrl + K = Shut down script
Ctrl + W = Auto run (Press CTRL again to run faster)
Ctrl + R = Hold down Right-Click (used for AFK fishing farm)
Ctrl + Z = Auto Click (This keybind toggles it On & Off, spam click by holding down either left or right click)
)
^K::ExitApp
^W::
IfWinActive, Minecraft
Sleep, 200
Send, {W Down}
return
^R::
IfWinActive, Minecraft
Send, {RButton Down}
return
^z::
Toggle := !Toggle
return
~LButton::
while GetKeyState("Lbutton", "P"){
if (!Toggle)
break
IfWinNotActive, Minecraft
break
Click
Sleep, 40
}
return
~RButton::
while GetKeyState("Rbutton", "P"){
if (!Toggle)
break
IfWinNotActive, Minecraft
break
Click, whichbutton Right
Sleep, 40
}
Return
Re: Auto Clicker
neomulemi6 wrote: ↑03 Jul 2016, 11:58This will click 12 times/second, toggled on/off with ctrl + z.
Code: Select all
#MaxThreadsPerHotkey 3 ^z:: Toggle := !Toggle Loop { If (!Toggle) Break Click Sleep 83 ; Make this number higher for slower clicks, lower for faster. } Return
Thank you very much from China, this function save my life!
Who is online
Users browsing this forum: No registered users and 81 guests