3
2
I'm changing the Caps key to Ctrl by using this registry key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"ScancodeMap"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00
And I want to use the original Ctrl key as another modifier for AutoHotkey
.
So I thought Alt GR is a good choice to use as a modifier.
But I couldn't figure out how to remap the original Ctrl key to Alt GR. Does anyone know how to change it via registry?
If there is better solution, I will go for it.
I'm using windows 10.
::Ctrl; Send {alt}{GR}; Is that the result you're looking for? – ejbytes – 2016-06-03T23:16:46.967
@ejbytes The way I read it, he is looking to change his
Ctrl
key to anAltGr
key in way that AHK doesn't recognize hisCaps Lock
key as aCtrl
key, because he edited the registry to rebind it that way. – TheKB – 2016-06-04T09:01:06.760@ejbytes Sorry, I couldn't figure out how the code works. – ironsand – 2016-06-04T21:06:22.563
@TheKB I want let AHK recognize
Caps Lock
as aCtrl
and originalCtrl
as aAltGr
. I'm not sure I'm understanding correctly what you wrote. – ironsand – 2016-06-04T21:08:13.300@ironsand Yes, that's what I wrote. – TheKB – 2016-06-05T08:36:41.970
@ironsand Has my method worked? – TheKB – 2016-06-08T16:17:33.163