0

I am a noob when it comes to Desktop GUIs. Is there a way for me to programmitically figure out which application window is the top most in terms of display environment?

So, basically, I can have a process running in the background, that might then change the behavior of the top-most (or say the selected) window. My go to operating system would be MacOS (then Linux family). Also, for instance, there is an app called spectacle app, which listens to key bindings to snap resize and move active windows on MacOS.

DaveIdito
  • 1,546
  • 14
  • 31
  • A similar unanswere question can be found here (https://stackoverflow.com/questions/5444377/use-python-to-resize-the-active-window-to-half-the-screen-size-in-linux) – DaveIdito Jul 08 '19 at 06:21
  • Here's a better hint (https://stackoverflow.com/questions/10266281/obtain-active-window-using-python) – DaveIdito Jul 08 '19 at 06:23

0 Answers0