[Pythonmac-SIG] Problem with open_app Action Event
stefan at feelthemachine.com
Fri Jul 14 22:54:42 CEST 2006
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:
> It's extremely special-purpose, but should give you some ideas.
> There are also some examples (and documentation) included with appscript.
More information about the Pythonmac-SIG