MacPython can drive many Mac apps (mostly with the ../AppscriptModule). Here are links to the collected (but sometimes incomplete) wisdom contained in the wiki about such stuff:

MacPython/ApplicationInterfaces (last edited 2008-11-15 14:00:24 by localhost)

Unable to edit the page? See the FrontPage for instructions.