alt f4 hotkey help

Ask gaming related questions
Truest1
Posts: 8
Joined: 08 Jun 2023, 20:44

alt f4 hotkey help

Post by Truest1 » 08 Jun 2023, 20:56

hey guys im super new to AHK. can someone tell me how to make it where i press 1+esc key and it outputs alt+f4 ???

im using a X-Arcade Tankstick And Need this shortcut ahk thanks in advance.


[Mod action: Moved topic to Gaming.]

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

Re: alt f4 hotkey help

Post by mikeyww » 10 Jun 2023, 07:11

Welcome to this AutoHotkey forum!

Code: Select all

#Requires AutoHotkey v2.0
1::1
1 & Esc::Send '!{F4}'

Truest1
Posts: 8
Joined: 08 Jun 2023, 20:44

Re: alt f4 hotkey help

Post by Truest1 » 20 Jul 2023, 10:20

:D thank you very much brotha. Works perfect. How about 1+M3 outputs alt+F4 would love that one too. Thank you again.

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

Re: alt f4 hotkey help

Post by mikeyww » 20 Jul 2023, 10:45

You can use a similar format (as line 3). A list of keys can be found below.

https://www.autohotkey.com/docs/v2/KeyList.htm#mouse

Post Reply

Return to “Gaming”