Let's say there is a program (like OBS, Chrome, or Discord) that accepts hotkeys (to open, save, print, etc) how can I forward a global hotkey like those configured in i3 to a program that only local accepts events targeted to the window.
For example, let's say I want to target a running version of Chrome for Printing (Ctrl+P). How can I set up a hotkey such that Chrome will open up the printing dialog (CTRL+P) if it's not in focus?