- Jan 31, 2018
You could keep a global keyboard hook and check if the window currently in the foreground matches your program's window handle and do nothing if it's not (basically acting as a local hook, if the flash embed seems to prevent a local hook from working).
Thanks for the input. I did some research on this and it seems like the input will still register in the "browser" while flash is selected. But if it doesn't, I think I'll add external JS functions that can be used inside the flash to control the menus, then bind each shortcut both in flash and the "browser". Although I wold probably use global shortcuts (in the way you suggested) for things I don't want any other mod to be able to do.