Autohotkey and Key Editor

Hi,
I’ve recently switched to PC so I’m new to autohotkey, but I’ve noticed that in Cubase 9.5 that none of my autohotkey commands respond in the Key Editor. They respond perfectly in the main project/arrange window, but if I go into a part and open a Key Editor window the commands no long work. Any clue as to why this is or how I can fix this situation?
Thanks!