3ICE's AutoClicker

Community for Programmers and Developers. C, C++, C#, Basic, Perl, VB, VBS, Java, Javascript, PHP, CGI, HTML and More!
• If you are posting source code, proper indenting and comments will improve the readability.

Re: AutoClicker

New postby Nuby on Sat Oct 27, 2012 11:11 pm

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.
You're jealous of my signature.
User avatar
Nuby
 
Posts: 17
Joined: Sat Apr 30, 2011 7:59 pm
Location: Round Rock, Texas
Realm: US East
Account: Defender
Clan: HLW

Re: AutoClicker

New postby 3ICE on Sun Oct 28, 2012 1:43 pm

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.)
ImageImageImageImageImage
Image
ImageImage
User avatar
3ICE
Admin
 
Posts: 2126
Joined: Sat Mar 01, 2008 11:34 pm
Location: Hungary
Realm: US East
Account: 3ICE
Clan: 3ICE

Re: AutoClicker

New postby Darktiger138 on Wed Dec 12, 2012 1:32 am

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.
Spoiler:
Spoiler 1
Spoiler:
Spoiler 2
Spoiler:
Spoiler 3
Spoiler:
Spoiler 4
Spoiler:
Spoiler 5
Darktiger138
 
Posts: 113
Joined: Fri Apr 13, 2012 2:48 pm
Location: New Zealand
Realm: US East
Account: Darktiger138
Clan: THP

Re: AutoClicker

New postby 3ICE on Wed Dec 12, 2012 5:35 am

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
ImageImageImageImageImage
Image
ImageImage
User avatar
3ICE
Admin
 
Posts: 2126
Joined: Sat Mar 01, 2008 11:34 pm
Location: Hungary
Realm: US East
Account: 3ICE
Clan: 3ICE

Re: AutoClicker

New postby Darktiger138 on Wed Dec 12, 2012 3:50 pm

All I get is the auto clicker, double click it and the GUI pops up...
Spoiler:
Spoiler 1
Spoiler:
Spoiler 2
Spoiler:
Spoiler 3
Spoiler:
Spoiler 4
Spoiler:
Spoiler 5
Darktiger138
 
Posts: 113
Joined: Fri Apr 13, 2012 2:48 pm
Location: New Zealand
Realm: US East
Account: Darktiger138
Clan: THP

Re: AutoClicker

New postby 3ICE on Thu Dec 13, 2012 10:17 am

Darktiger138All 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
ImageImageImageImageImage
Image
ImageImage
User avatar
3ICE
Admin
 
Posts: 2126
Joined: Sat Mar 01, 2008 11:34 pm
Location: Hungary
Realm: US East
Account: 3ICE
Clan: 3ICE

Re: AutoClicker

New postby Darktiger138 on Sun Dec 16, 2012 4:20 am

I want it so I can edit it
Spoiler:
Spoiler 1
Spoiler:
Spoiler 2
Spoiler:
Spoiler 3
Spoiler:
Spoiler 4
Spoiler:
Spoiler 5
Darktiger138
 
Posts: 113
Joined: Fri Apr 13, 2012 2:48 pm
Location: New Zealand
Realm: US East
Account: Darktiger138
Clan: THP

Re: AutoClicker

New postby 3ICE on Sun Dec 16, 2012 10:04 am

Copy and paste the source code and edit it in Notepad++.
Then compile it with Autoit.
ImageImageImageImageImage
Image
ImageImage
User avatar
3ICE
Admin
 
Posts: 2126
Joined: Sat Mar 01, 2008 11:34 pm
Location: Hungary
Realm: US East
Account: 3ICE
Clan: 3ICE

Previous

Return to Programming



Who is online

Users browsing this forum: No registered users and 2 guests

cron