Почему не срабатывает правый alt?
Помогла эта строчка перед командой

>!alt::
Возможно If your keyboard layout has AltGr instead of RAlt, you can probably use it as a hotkey prefix via <^>! as described here. In addition, LControl & RAlt:: would make AltGr itself into a hotkey.