In windows 10, I switch between a Greek Polytonic keyboard and a normal English QWERTY keyboard. I have an autohotkey script which swaps the left control key with capslock.
settitlematchmode, 2
#IfWinNotExist, ahkblock
capslock::lctrl
lctrl::capslock
#IfWinActive
However when I switch to the polytonic greek keyboard, for some strange reason autohotkey interprets my script to mean that I want the right alt button to function as a second caps lock key. This is unacceptable because I need to use that right alt button in order to combine iota subscripts with breathings and accents.
Do you know of any workaround or bug fix for this issue?