capslock rapid toggling

Report problems with documented functionality
GreatGazoo
Posts: 69
Joined: 28 Dec 2017, 02:53

capslock rapid toggling

29 Jan 2018, 23:43

when caps lock is off it runs fine, when caps lock is on while I press the hotkey, the caps lock toggle state is rapid fire as well

what in the script would cause that ?

Code: Select all

msgbox, started
SoundBeep, 1000, 200
#Include AutoCorrect.AHK
#SingleInstance, force
#NoEnv
#MaxHotkeysPerInterval 99000000
#HotkeyInterval 99000000
#KeyHistory -1
ListLines Off
Process,Priority,,H
SetBatchLines, -1
SetKeyDelay, -1, -1
SetMouseDelay,-1
SetDefaultMouseSpeed, 0
SetWinDelay,-1
SetControlDelay,-1


$~Mbutton::
	while (getKeyState("Mbutton", "P"))
	{
		send, {lbutton}
                random, x, 62, 96
		sleep %x%
;		sleep, 100
	}
return

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 2 guests