fjdU7XSkVeEEqe Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
wigheardauguste
Posts: 11
Joined: 08 Jan 2020, 22:43

fjdU7XSkVeEEqe

08 Aug 2020, 21:03

fjdU7XSkVeEEqe
Last edited by wigheardauguste on 12 Jun 2021, 17:58, edited 1 time in total.
Rohwedder
Posts: 7687
Joined: 04 Jun 2014, 08:33
Location: Germany

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

09 Aug 2020, 01:34

Hallo,
try:

Code: Select all

Loop, 0xFF
	IF GetKeyState(Key:=Format("VK{:X}",A_Index))
		SendInput, {%Key% Up}
wigheardauguste
Posts: 11
Joined: 08 Jan 2020, 22:43

fjdU7XSkVeEEqe

09 Aug 2020, 19:02

fjdU7XSkVeEEqe
Last edited by wigheardauguste on 12 Jun 2021, 17:58, edited 1 time in total.
User avatar
submeg
Posts: 326
Joined: 14 Apr 2017, 20:39
Contact:

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

09 Aug 2020, 21:24

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!
____________________________________
Check out my site, submeg.com
Connect with me on LinkedIn
Courses on AutoHotkey :ugeek:

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot], mihai369 and 123 guests