Nicholas, I feel pretty stupid, but I actually can't find any information in the appscript documentation about how to listen for and bind a function to an apple event? Can you enlighten me a bit?
Nicholas Riley skrev: > On Fri, Jul 14, 2006 at 08:43:53PM +0200, Stefan Holmer wrote: > >> I'm writing the application in Python using the MiniAEFrame module which >> comes with MacPython. I've built it mostly like the example test class >> in MiniAEFrame named _Test. >> > > Try using aemreceive, part of appscript > (http://freespace.virgin.net/hamish.sanderson/appscript.html) instead > of MiniAEFrame - it's a much better version. > > A script I wrote using aemreceive is here: > > <http://dev.sabi.net/trac/dev/browser/trunk/RetroStatus/RetroStatus.py> > > It's extremely special-purpose, but should give you some ideas. > > There are also some examples (and documentation) included with appscript. > > _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig