I am trying to use PyHook and the popen() method in order to open another program whenever a particular keycode is pressed. (even when i am on another screen) However, if another window has focus, the program i am opening is minimized, and I need it to be on top.
Any thoughts on how I can make the open program the active window?