Page 1 of 1

AutoFire Script

Posted: 28 Mar 2019, 09:19
by cruellife
Hello everyone! I would like to ask you to help me to make AutoFire script (similar to M1 spam on Razer/Logitech mice and Triple-click on 4tech mice but with AutoHotkey software), considering my necessity to press and hold LControl while using it, also I would like that script had press-release action. I found two pretty good scripts while was surfing AHk forums : first one - ::Suspend
SetMouseDelay 30
If (GetKeyState("LButton","P")=0)
} , second - $XButton2::
Toggle := !Toggle
while Toggle
Send, {LButton Down}
Sleep, 30
Send, {Lbutton Up}
return , but the main problem was that none of them could work, while I was pressing LControl.
Adding of asterisk before the hotkey and adding of #IfWinActive in script, that people were suggesting, didn't help. So please, could some one modify two scripts I pasted above or make new one considering my conditions (script have to work while LControl is pressed and it should enable-disable when I press-release hotkey). Thank you very much!