Hi, I'm new to AHK and am looking to make a sequence of key presses produce a symbol.
Such as, if I press 'a' and then '1' less than 2 seconds after it produces 'b' or something similar.
Any help appreciated.
Pressing a sequence of keys to activate a command
Re: Pressing a sequence of keys to activate a command
The following will do what you requested:
For the "something similar" you will need to learn some Autohotkey. I recommend you start with the Tutorial(link at the top right of this page).
Code: Select all
a::aTime := A_TickCount
1::
if (A_TickCount - aTime < 2000 )
send b
return
Re: Pressing a sequence of keys to activate a command
Thanks! It works as intended.
Who is online
Users browsing this forum: Araphen, Dobbythenerd1 and 324 guests