I want to implement a series of hotkeys using Autohotkey (mostly to improve my effectiveness), but I want them to only be active when I'm typing text, and not when I'm navigating or playing. I know Autohotkey can set conditions based on which window is focused, and so I could set these hotkeys to only trigger inside notepad++, MSWord, etc.
The problem is that I would also like these hotkeys to work when I'm typing text in firefox (like this question right here). However, I can't just set them to always trigger inside firefox because I'm not always typing in it and so it would mess up other hotkeys associated to firefox. So, is there a way I can set these hotkeys to only be active when I'm inside a text input field? This way they wouldn't mess up with regular firefox hotkeys while I'm navigating, but would still be active when I'm typing.