I have the idea of holding down Space for 300ms and it would press Enter. But I do not know how to execute this idea, since I'm new to AHK.
Any help would be massively appreciated.
Holding down a key gives me another key.
Re: Holding down a key gives me another key.
Hallo,
try:Keywait sets the ErrorLevel to True if the waiting time .3 seconds has been exceeded.
try:
Code: Select all
$Space::
KeyWait, Space, T.3
Send,% ErrorLevel?"{Enter}":"{Space}"
Return
Re: Holding down a key gives me another key.
Thank you! This helped me out a lot!Rohwedder wrote: ↑03 Dec 2022, 01:49Hallo,
try:Keywait sets the ErrorLevel to True if the waiting time .3 seconds has been exceeded.Code: Select all
$Space:: KeyWait, Space, T.3 Send,% ErrorLevel?"{Enter}":"{Space}" Return