A simple clicking program Topic is solved

Ask gaming related questions (AHK v1.1 and older)
TheGrayColour
Posts: 11
Joined: 06 Jan 2021, 08:30

A simple clicking program

15 Apr 2021, 17:04

So I really need a simple clicking program.
Here's what it will be:

F9: turn on/off
program repeats until stopped
left mouse single click with a random interval from 180 to 185 milliseconds
group: 24 clicks as a group, random delay with a range from 2500 - 2700 milliseconds

So when you press F9, the program will start clicking with a random interval from 180 to 185 clicks 24 times, then there is a random delay from 2500 to 2700 milliseconds. And all this repeats until stopped by pressing F9 again.

Code: Select all

F9:: ;On/Off with key F9
I know this program is kind of simple but I only know how to turn it on and off.
Can anybody help, please?
Last edited by BoBo on 15 Apr 2021, 17:30, edited 1 time in total.
Reason: Moved to Gaming section.
User avatar
mikeyww
Posts: 26939
Joined: 09 Sep 2014, 18:38

Re: A simple clicking program  Topic is solved

15 Apr 2021, 19:00

Code: Select all

#MaxThreadsPerHotkey 4
F9::
on := !on
While on {
 Loop, 24 {
  If on
   Click
  Random, rand, 180, 185
  Sleep, rand * on
 } Until !on
 Random, rand, 2500, 2700
 Sleep, rand * on
}
Return

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: Dewi Morgan and 58 guests