Yet another Auto Clicker seeking help

Ask gaming related questions (AHK v1.1 and older)
avo8
Posts: 2
Joined: 05 Nov 2016, 22:58

Yet another Auto Clicker seeking help

05 Nov 2016, 23:04

Hello, I've done partial research on the forums for an autoclicker but a specific function of randomizing but didn't have much luck.
Sadly when search on google, all results from AHK forum posts give me a blank page. I assume the forums have changed since then and all those links are dead.

Hopefully I'm not annoying but here's what I'm looking.
For an Auto clicker to click randomly within a set interval.

Your typical auto clicker would have it delay between clicks ex; 10mins each click.
I'm looking to have an input interval as for the delay, where as the interval could be from X-Ymins (10-20mins we will say) and the autoclicker would click a random time between those intervals. Doesn't have to be consist as 10.1 10.2 10.3mins but more randomize, first time maybe 10.5mins seconds time might be 19.4mins, third might be 14.8mins and so and so forth.


Could anyone help me out? or point me in the right direction?
User avatar
Exaskryz
Posts: 2882
Joined: 17 Oct 2015, 20:28

Re: Yet another Auto Clicker seeking help

06 Nov 2016, 00:03

I have noticed today that the old autohotkey forums (autohotkey.com/board/ as opposed to autohotkey.com/boards/) were not loading.

You may be looking for these documents:

#Persistent - keeps a script running without hotkeys
Random - generates a random number
SetTimer - set action(s) to be run in a certain time from now, and can be set to repeat
Click - self-descriptive
return - marks the end of a set of actions
avo8
Posts: 2
Joined: 05 Nov 2016, 22:58

Re: Yet another Auto Clicker seeking help

06 Nov 2016, 02:59

Thanks!

Is there any premade scripts that I could potentially look at to use/learn off of?
User avatar
Exaskryz
Posts: 2882
Joined: 17 Oct 2015, 20:28

Re: Yet another Auto Clicker seeking help

06 Nov 2016, 14:33

There are examples for many of the commands at the bottom of the documentation pages that can help you.

You might be able to look for an auto clicker in the gaming subforum and find one that was premade.
cristiansc93
Posts: 8
Joined: 01 Feb 2016, 16:51

Re: Yet another Auto Clicker seeking help

06 Nov 2016, 17:31

Maybe this one?

Code: Select all

#UseHook, On
#NoEnv
#Persistent
#KeyHistory 0
Process, Priority,, H
SetBatchLines, -1
ListLines Off
SendMode Input
SetTitleMatchMode 2
SetTitleMatchMode Fast
SetKeyDelay, -1, -1, Play
SetMouseDelay, -1
SetWinDelay, 0
SetControlDelay, 0
SetDefaultMouseSpeed, 0
CoordMode, ToolTip, Screen
CoordMode, Pixel, Screen
CoordMode, Mouse, Screen
CoordMode, Caret, Screen
CoordMode, Menu, Screen

F1::Suspend
F2::ExitApp

RandomSleep(ByRef RandomTime )
{
    Random, RandomVariable, 0, 50
    Return RandomTime + RandomVariable
}

$Space::
    While GetKeyState("Space", "P")
    {
        Send, {Click}
        Sleep, RandomSleep(100)  ;This "100" is the time to sleep in miliseconds
    }
Return
Paqq
Posts: 1
Joined: 20 Sep 2017, 07:38

Re: Yet another Auto Clicker seeking help

20 Sep 2017, 08:01

Hi! I made this with the forums help but Im not sure if it works correctly. The idea is that it randomize the clicks between intervals. Is it working like this or is there a way to make it better?

Xbutton1::domino66Click()

domino66Click(){

static Toggler

Toggler := !Toggler

TPer := Toggler ? Interval : "off"

SetTimer, ClickClick, %TPer%

return

ClickClick:

Click 2

Sleep 20

Random, rand, 600, 10000

Sleep %rand%

return

}

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 34 guests