Page 1 of 1

fjdU7XSkVeEEqe

Posted: 08 Aug 2020, 21:03
by wigheardauguste
fjdU7XSkVeEEqe

Re: Function to release all keys that are currently being pressed  Topic is solved

Posted: 09 Aug 2020, 01:34
by Rohwedder
Hallo,
try:

Code: Select all

Loop, 0xFF
	IF GetKeyState(Key:=Format("VK{:X}",A_Index))
		SendInput, {%Key% Up}

fjdU7XSkVeEEqe

Posted: 09 Aug 2020, 19:02
by wigheardauguste
fjdU7XSkVeEEqe

Re: Function to release all keys that are currently being pressed

Posted: 09 Aug 2020, 21:24
by submeg
Rohwedder wrote:
09 Aug 2020, 01:34
Hallo,
try:

Code: Select all

Loop, 0xFF
	IF GetKeyState(Key:=Format("VK{:X}",A_Index))
		SendInput, {%Key% Up}
Fantastic! Just implemented. Thanks @Rohwedder!