standard clicker randomly stops

Ask gaming related questions (AHK v1.1 and older)
calexander011
Posts: 1
Joined: 26 Mar 2024, 20:50

standard clicker randomly stops

26 Mar 2024, 20:54

ive got a script that has worked for a long time thats just a standard clicker. I dont see how it plays any part but i recently changed keyboards and now the script will run for a little while and then randomly stop. could someone tell if what to do or how to fix it. This is the script

Code: Select all

F9::
Click
sleep, 15
Click
sleep, 100
click
sleep, 25
click
sleep, 35
Click
sleep, 111
click
sleep, 45
click
sleep, 55
Click
sleep, 125
click
sleep, 65
click
sleep, 55
Click
sleep, 118
click
sleep, 75
click
sleep, 45
Click
sleep, 126
click
sleep, 15
click
sleep, 35
Click
sleep, 127
click
sleep, 65
click
sleep, 35
Click
sleep, 126
click
sleep, 55
click
sleep, 15
Click
sleep, 155
click
sleep, 15
click
sleep, 35
Click
sleep, 165
click
sleep, 65
click
sleep, 15
Click
sleep, 195
click
sleep, 15
click
sleep, 15
Click
sleep, 175
click
sleep, 25
click
sleep, 35
Click
sleep, 165
click
sleep, 15
click
sleep, 65
Click
sleep, 15
Click
sleep, 155
click
sleep, 15
click
sleep, 35
Click
sleep, 165
click
sleep, 65
click
sleep, 15
Click
sleep, 195
click
sleep, 15
click
sleep, 15
Click
sleep, 175
click
sleep, 25
click
sleep, 35
Click
sleep, 165
click
sleep, 15
click
sleep, 88
click
sleep, 7
Click
sleep, 65
click
sleep, 44
click
sleep, 55
click
sleep, 109
click
sleep, 32
click
Send, {F3}
Send, {F9}
Return
`::Reload
Last edited by gregster on 26 Mar 2024, 21:29, edited 2 times in total.
Reason: Post was split from mostly unrelated autoclicker topic. Also, code tags were added.
Rohwedder
Posts: 7655
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: standard clicker randomly stops

29 Mar 2024, 01:09

Hallo,
This script sends its Clicks to the "active window". If for some reason your target window is no longer this "active window", i.e. another window becomes active, the Clicks end up in this other window, i.e. they no longer have the desired effect in the target window. For me, the keyboard can be ruled out as the cause of this.
The Click command sends {Blind}, i.e. if modifier keys are pressed, these are also taken into account when clicking. A defective keyboard could be the cause of that.

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 141 guests