Page 2 of 2

Re: AutoClicker

Posted: Sat Oct 27, 2012 11:11 pm
by Nuby
I do wonder if you could make a program that performs a random number between two specified integers with every mouse click.

For example, a single click would perform 8-11 clicks.
Series one:*
First click = 9 clicks
Second click = 8 clicks
Third click = 11 clicks
Fourth click = 10 clicks
Series two:
First click = 11 clicks
Second click = 8 clicks
Third click = 9 clicks
Fourth click = 10 clicks

1 click = 8-11 clicks would be the settings specified for the above example.
*The 'series' titles are irrelevant, it's just to show you a comparison between what would happen for two different instances.

Re: AutoClicker

Posted: Sun Oct 28, 2012 1:43 pm
by 3ICE
Yes, anything is possible. But I'm not sure what you mean by "performs a random number between two specified integers with every mouse click"
Do you want the app to do this:

Code: Select all

onMouseClick=
$i=0
$rnd=Random(inputBox1.text.toInt(), inputBox2.text.toInt())

While $i<$rnd
  MouseClick("left")
  $i++
WEnd
If yes, then it's easily done.

p.s.: New time: 7557 clicks per minute (Done one the same laptop, but after optimizing performance.)

Re: AutoClicker

Posted: Wed Dec 12, 2012 1:32 am
by Darktiger138
Hey, it's me again, I was wondering what compiler you use for your auto clicker and how I could change it to do less clicks, because at the moment my system simply cannot do that many clicks without glitching out.

Re: AutoClicker

Posted: Wed Dec 12, 2012 5:35 am
by 3ICE
Autoit. Comes with a compiler by default.

You can add a Sleep(50) inside Func Click()'s While $3 loop to slow it down.
Experiment with different numbers until you find the one that works best for you. The unit is Milliseconds.

Edit: The full function would look like this:

Code: Select all

Func Click()
$3 = NOT $3
  While $3
    Sleep(50)
    MouseClick("left")
  WEnd
EndFunc

Re: AutoClicker

Posted: Wed Dec 12, 2012 3:50 pm
by Darktiger138
All I get is the auto clicker, double click it and the GUI pops up...

Re: AutoClicker

Posted: Thu Dec 13, 2012 10:17 am
by 3ICE
Darktiger138 wrote:All I get is the auto clicker, double click it and the GUI pops up...
Yes, that's the intended behavior. What do you want to get?

Do you want an executable? Use Aut2Exe. It comes with Autoit:
C:\Program Files\AutoIt3\Aut2Exe\Aut2exe.exe

Re: AutoClicker

Posted: Sun Dec 16, 2012 4:20 am
by Darktiger138
I want it so I can edit it

Re: AutoClicker

Posted: Sun Dec 16, 2012 10:04 am
by 3ICE
Copy and paste the source code and edit it in Notepad++.
Then compile it with Autoit.

Re: 3ICE's AutoClicker

Posted: Wed Aug 24, 2022 4:49 pm
by BugMeNot
My speed is 5800 clicks per minute! (I'm using the modern tester.)