Output "F" when both pressed down AND released?

Ask gaming related questions (AHK v1.1 and older)
Fredhead
Posts: 1
Joined: 08 Oct 2018, 14:11

Output "F" when both pressed down AND released?

08 Oct 2018, 14:19

I'm looking for a script that will output the key I press ("F") both when I press down and when I release the button

example...

*Presses down "F" key*

>F

*Releases "F" key*

>F

Any help would be appreciated thx!
Rohwedder
Posts: 7627
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Output "F" when both pressed down AND released?

09 Oct 2018, 01:19

Hallo,
try this (with autorepeat while holding down the key):

Code: Select all

~*f Up::Send, {Blind}f
or that (without):

Code: Select all

$*f::
	Send, {Blind}f
	KeyWait, f
	Send, {Blind}f
Return

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 71 guests