I have an AutoHotkey function that lets me switch between browser tabs with Ctrl + ←/→ as well as closing tabs (Ctrl + ↓) and going into the search bar (Ctrl + ↑). It helps me save clicks and use the mouse less.
However, I use the Canadian Multilingual Standard keyboard layout (CAN/CSA Z243.200) to type French diacriticked letters (éèçà) for some of my classes and this layout disables the right Ctrl key (the one right beside my keyboard buttons) which is the most convenient to use with my right hand only.
There was an MSDN blog post documenting this issue by Michael S. Kaplan, but it was removed. His archived version lost its pictures, but the Wayback Machine's version shows the post verbatim.
Is there any way I can override this? I very rarely directly type the "œ" ligature (because I can just use Alt + 0156 instead).
Here is the very simple code for my hotkey:
^Left::SendInput, ^{PGUP}
^Right::SendInput, ^{PGDN}
^Up::SendInput, !d
^Down::SendInput, ^w
Using SciTE4AutoHotkey tool, on my UK hardware keyboard right ctrl is detected as expected (RControl)
When I switch to French (Canada) Canadian Multilingual keyboard, the right ctrl key is not found, also Virtual Key is different: DF
(SC means scan code and VK means virtual key)
so if you remap, it should solve the problem
~SC11D::RControl
After remapping: not found is replaced by RControl with each keypress.
Even if above remapping does not work for your case, it is a matter of finding which key corresponds to relevant scan code and then you can remap it.
Double click on your ahk script on the taskbar, and then
View > Key history and script info (Ctrl + K) by pressing key and refresh(F5) you can see respective keyboard scan codes.