Screen overlay with Python, paint over an active window with background python script

Posted by tvlife.admin on Stack Overflow See other posts from Stack Overflow or by tvlife.admin
Published on 2010-06-18T07:18:36Z Indexed on 2010/06/18 7:23 UTC
Read the original article Hit count: 419

Filed under:
|
|
|
|

Hi

I'm writing a python script that runs in the background and takes screenshots of another application that is active. Then it analyses the screenshots and now it should overlay a certain image over the active app or the screen. I still need to be able to make mouse and keyboard inputs in the active app.

So I need a way to overlay/paint on another window or on the screen, and still keep the other window the active window so that I can make inputs.

I would prefer to do that with python in Mac OS, but if it isn't possible, other languages and even Windows (if really necessary) would also be ok.

Can anybody help me?

Thanks in advance!

© Stack Overflow or respective owner

Related posts about python

Related posts about mac