I'm working on a new version of GMOS, and I need to keep focus, if this could be made, it would be greatly appreciated.
Check/disable/dispatch window commands in GameMaker · By
If you know a little C++, you can adapt code from this example relatively easily.