[Pythonmac-SIG] Calling CGWindowList* functions from Python?

Bill Janssen janssen at parc.com
Thu Oct 23 20:43:08 CEST 2008


I'm trying to re-implement the example at
http://developer.apple.com/samplecode/SonOfGrab/index.html in Python,
using the Apple system Python 2.5 on Leopard.  But the indicated
functions, like CGWindowListCopyWindowInfo, don't seem to be defined in
the SWIG-generated Python module CoreGraphics that comes with Leopard.

Is there a newer version of this module?  Is there a different way to go
with this?  Any advice would be appreciated.

Bill


More information about the Pythonmac-SIG mailing list