AltGr

Discussion, questions and support.
Post Reply
ped
Posts: 15
Joined: Sep 11th, ’22, 10:58

Post by ped » Sep 14th, ’25, 16:14

I want to add a new shortcut: AltGr + Y

AltGr means the right Alt key. I am struggling with understanding the meaning of the GUI:

In the "Advance shourtcut" GUI, there is something like:

[ ] Win
[X] Alt
- [] / [] L/R only

What does the last line means? If i check [X] L/R, only the characters <! are shown.

Asking KI, it shoud be <^>!

"The code for the AltGr key in AutoHotkey is <^>!. This represents a combination of the left Control key (<^) and the right Alt key (>!), which is how AltGr is implemented on many keyboard layouts. In scripts, <^>! can be used to create hotkeys for combinations involving AltGr (e.g., <^>!a::MsgBox AltGr+A pressed). Additionally, in some contexts, using RAlt is equivalent to AltGr, but <^>! is the officially recommended and layout-independent syntax. [https://www.autohotkey.com/boards/viewtopic.php?t=82889]"
User avatar
Marko
Posts: 1906
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Sep 14th, ’25, 20:29

AltGr key is a special key in Windows, normally used is used to type additional characters. Windows internally maps AltGr as Ctrl + Alt.

To use AltGr + Y as a shortcut in FastKeys, double click on the shortcut entry field and insert the following: <^>!y
ped
Posts: 15
Joined: Sep 11th, ’22, 10:58

Post by ped » Sep 15th, ’25, 12:56

Thank you very much for the help.

The key information was: "... double click on the shortcut entry field ..."
Post Reply