Remap right Alt to AltGr?

#1
I just bought a Dell XPS 15 and discovered that there's no AltGr, but two Alt's instead. Is it possible to remap the right Alt to act as AltGr?

I've tried several keyboard editing programs, but haven't found any with that option (except KbdEdit, but the demo version won't let you save the settings and 8€/12$ is quite a lot to pay only to change one key).
 


#2
[langtitle=hr]Re: Remap right Alt to AltGr?[/langtitle]

Autohotkey will let you remap:


Left Alt to AltGr:

Code:
[B]LAlt::Send {AltGr}[/B]


Right Alt to AltGr:

Code:
[B]RAlt::Send {AltGr}[/B]
 


Last edited:
#3
Thank you for your answer, but that doesn't work either - right Alt still doesn't function as AltGr.
 


#4
Thank you for your answer, but that doesn't work either - right Alt still doesn't function as AltGr.
1. Did you install Autohotkey?

2.
Code:
[B]RAlt::Send {AltGr}[/B]
Did you save this code as name.ahk?


3. Did you double click on the script to launch it?


If you answered No to any of these questions, you know why it doesn't work.
 


#5
1. Did you install Autohotkey?

2.
Code:
[B]RAlt::Send {AltGr}[/B]
Did you save this code as name.ahk?


3. Did you double click on the script to launch it?


If you answered No to any of these questions, you know why it doesn't work.
Yes, of course I did all those things.
 


Last edited:

kemical

Windows Forum Admin
Staff member
Premium Supporter
Microsoft MVP
#6
Hi MikEst,

a couple of things to suggest and apologies if you've tried these already.. Have you tried setting the keyboard to UK input? Another option would be to try the keys of 'Control & Alt' as these should produce AltGr when used together.

More information on this subject can be found here:

AltGr key - Wikipedia, the free encyclopedia
 


#7
Hi MikEst,

a couple of things to suggest and apologies if you've tried these already.. Have you tried setting the keyboard to UK input? Another option would be to try the keys of 'Control & Alt' as these should produce AltGr when used together.

More information on this subject can be found here:

AltGr key - Wikipedia, the free encyclopedia
Thank you fro your answer, but switching to UK input didn't help either. And I already know that Ctrl+Alt=AltGr (btw, that didn't work in the UK input).

But I got it to work. The program that I mentioned in the original post (KbdEdit) creates a temporary layout called "Language [KbdEdit Preview]". While KbdEdit was still open, I opened the layout with MS Keyboard Layout Creator 1.4 and then closed KbdEdit. The layout then saved and I was able to select it from the input language / keyboard settings.
 


kemical

Windows Forum Admin
Staff member
Premium Supporter
Microsoft MVP
#8
Glad to hear you got it sorted and much thanks for updating the thread.
 


This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.