Help w/ Autoclicker Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Gangster8192
Posts: 2
Joined: 06 Dec 2018, 21:42

Help w/ Autoclicker

06 Dec 2018, 22:09

So I got my basic auto clicker,

Code: Select all

While GetKeyState("LButton", "P"){
        Click
        Sleep 20  ;  milliseconds
    }
return

^b::
Suspend
Pause,,1
return
Works as expected, but if I hold shift while holding left click, it will not work.
Thank you in advance for a working solution.
Rohwedder
Posts: 7616
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Help w/ Autoclicker

07 Dec 2018, 02:28

Hallo,
try:

Code: Select all

While GetKeyState("LButton", "P"){
        Click
        Sleep 20  ;  milliseconds
    }
return

$*LButton::Return
^b::
Suspend
Pause,,1
return
neokix
Posts: 36
Joined: 10 May 2017, 07:50
Contact:

Re: Help w/ Autoclicker  Topic is solved

07 Dec 2018, 02:28

Hi. Try this.

Code: Select all

LButton::
+LButton::
;<yourscripthere>
return
You can set multiple Hotkeys by using :: in multiple line.

Or if you want to execute Shift + LButton repeatedly while pressing Shift + LButton, you need another line to do so.
Gangster8192
Posts: 2
Joined: 06 Dec 2018, 21:42

Re: Help w/ Autoclicker

08 Dec 2018, 20:08

Rohwedder wrote:
07 Dec 2018, 02:28
Hallo,
try:

Code: Select all

While GetKeyState("LButton", "P"){
        Click
        Sleep 20  ;  milliseconds
    }
return

$*LButton::Return
^b::
Suspend
Pause,,1
return
This actually renders the left mouse button useless, thank you for your help anyway.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Descolada, Google [Bot], jomaweb, Rohwedder and 284 guests