possible to block HOLD left mouse button? Topic is solved

Ask gaming related questions (AHK v1.1 and older)
Blossom
Posts: 10
Joined: 19 Sep 2022, 12:41

possible to block HOLD left mouse button?

Post by Blossom » 20 Sep 2022, 09:58

hello guys,

Is it possible to completely block the HOLD LEFT MOUSE BUTTON function?
to clarify it would be used in FPS games so i can't hold the left mouse button down to full auto shoot the weapons but rather it forces me to click every time to shoot.

If anyone could help me out or teach me how to code it myself that would be awesome!

User avatar
ositoMalvado
Posts: 180
Joined: 24 Dec 2019, 12:02
Contact:

Re: possible to block HOLD left mouse button?

Post by ositoMalvado » 20 Sep 2022, 13:15

try

Code: Select all

sendplay, {lbutton downr}
My WEB some useful stuff

Blossom
Posts: 10
Joined: 19 Sep 2022, 12:41

Re: possible to block HOLD left mouse button?

Post by Blossom » 21 Sep 2022, 12:25

thanks for the answer! sadly it doesn't work ingame :/

Blossom
Posts: 10
Joined: 19 Sep 2022, 12:41

Re: possible to block HOLD left mouse button?

Post by Blossom » 23 Sep 2022, 15:42

BUMP..

User avatar
mikeyww
Posts: 26601
Joined: 09 Sep 2014, 18:38

Re: possible to block HOLD left mouse button?  Topic is solved

Post by mikeyww » 23 Sep 2022, 17:08

Code: Select all

LButton::
KeyWait, LButton, T.2
If ErrorLevel
 SoundBeep, 1000
Else Click
Return

Blossom
Posts: 10
Joined: 19 Sep 2022, 12:41

Re: possible to block HOLD left mouse button?

Post by Blossom » 02 Oct 2022, 09:24

Sorry for the late reply, I just got back from my trip. thank you so much!
this worked wonderfull!

Post Reply

Return to “Gaming Help (v1)”