Hotkey Topic is solved

Ask gaming related questions (AHK v1.1 and older)
pmo
Posts: 2
Joined: 02 Jul 2022, 03:57

Hotkey

Post by pmo » 02 Jul 2022, 04:23

Hi, I'm having a hard time figuring out how to make a hotkey I want for a game.

Basically I want to hold mouse4 which then holds s, presses w twice in quick succession and holds it as well and then presses arrow up for as short possible.

Thanks in advance for any help


[Mod action: Moved topic to “Gaming”]

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

Re: Hotkey  Topic is solved

Post by mikeyww » 02 Jul 2022, 05:08

Welcome to this AutoHotkey forum!

Code: Select all

XButton2::
Send {s down}w{w down}{Up}
SoundBeep, 1500
KeyWait, %A_ThisHotkey%
Send {w up}{s up}
SoundBeep, 1000
Return

pmo
Posts: 2
Joined: 02 Jul 2022, 03:57

Re: Hotkey

Post by pmo » 02 Jul 2022, 06:05

This works flawlessly, thanks a ton!

Post Reply

Return to “Gaming Help (v1)”