Sequence of keys Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
franz
Posts: 6
Joined: 01 Apr 2021, 12:19

Sequence of keys

Post by franz » 26 Jul 2021, 12:00

I need a script that when I press the 3w keys, always send 1w. (by pressing 3 then w, at an interval of less than ~1 second)

It would be like this:

Code: Select all

3w::
Send, 1w

User avatar
mikeyww
Posts: 26437
Joined: 09 Sep 2014, 18:38

Re: Sequence of keys  Topic is solved

Post by mikeyww » 26 Jul 2021, 13:40

Code: Select all

~3::Return
$w::Send % A_PriorHotKey = "~3" && A_TimeSincePriorHotkey < 500 ? "{BS}1w" : "w"

franz
Posts: 6
Joined: 01 Apr 2021, 12:19

Re: Sequence of keys

Post by franz » 26 Jul 2021, 15:25

thanks ❤

Post Reply

Return to “Ask for Help (v1)”