🤦
🤦
nxcro
Posts: 1
Joined: 09 Nov 2025
@
09 Nov 2025, 20:27
im pretty sure im the only one with this problem but because
im too broke i dont have a good gaming mouse, but i still want to have a mouse that can click 20 cps (so i dont get shit on in minecraft), ive recently been using x mouse button for their double click option but now i cant hold down left click cuz the software just thinks
im clicking once and does the double click but doesnt let me hold down the left click button to do things like mining. i tried to use chatgpt to help with creating a script on ahk to fix that but every time there are 2 error msgs that may show up, when gpt fixes one of them the other one shows up
heres my code, does anyone know how to fix it?
#Requires AutoHotkey v2.0
; Set the click interval (in milliseconds)
clickInterval := 50 ; 1000 ms / 20 clicks = 50 ms per click
; Variable to track if the left button is held down
isHolding := false
; Hotkey for left mouse button
~LButton::
if (isHolding)
return
; Start clicking twice at the set interval
Loop 2 {
Click
Sleep clickInterval
}
return
; Detect when left mouse button is held down
~LButton Down
{
isHolding := true
Click down
}
; Detect when left mouse button is released
~LButton Up
{
isHolding := false
Click up
}
(find-file "~soul/Uploads/codings/ahk/highlighter.css" t)
(find-file "~soul/Uploads/codings/ahk/light.css" t)
(mc/mark-all-in-region (region-beginning) (region-end))
(mc/mark-all-in-region (region-beginning) (region-end))
(-remove-tags-any- "span")
(-remove-tags-any- "span ")
(strip-html)
(-remove-tags-any- "span")
(-remove-tags-any- "span")
(load-file "~/.emacs.d/lisp/-remove-tags-any-.el")
(load-file "~/.emacs.d/lisp/strip-html.el")
(mc/mark-all-in-region (region-beginning) (region-end))
(mc/unmark-previous-like-this)
(mc/unmark-previous-like-this)
(mc/unmark-next-like-this)
(load-file "~/.emacs.d/lisp/strip-script-tags-html.el")
(insert-char 129318 1 t) (insert-char 129318 1 t) (sgml-electric-tag-pair-mode 'toggle) (sgml-electric-tag-pair-mode 'toggle) (mmm-ify-by-class 'html-css) (modus-themes-toggle) (modus-themes-toggle) (modus-themes-toggle) (insert-char 129318 1 t) ↣ "FACE PALM" (insert-char 129318 1 t) (sgml-electric-tag-pair-mode 'toggle) (sgml-electric-tag-pair-mode 'toggle) (mmm-ify-by-class 'html-css) (modus-themes-toggle) (modus-themes-toggle) (modus-themes-rotate '(modus-operandi modus-operandi-tinted modus-operandi-deuteranopia modus-operandi-tritanopia modus-vivendi modus-vivendi-tinted modus-vivendi-deuteranopia modus-vivendi-tritanopia)) (set-mark-command) (mmm-ify-region 'sgml-mode (region-beginning) (region-end)) (mmm-mode) (load-file "~/.emacs.d/lisp/sort-lines-by-length.el") (mc/mark-all-like-this) (read-only-mode 'toggle)