Greetings, I've written a short document with some working examples of how to interface python with other applications in OS-X via applescript (had to spend some time figuring it out, and thought I might as well write it down). The examples include asking Google Earth for the latitude and longitude of the point at the center of its screen, or using the finder to pop-up a dialog window to get input from the user:
http://juanreyero.com/article/python/os-x-python.html Cheers, Juan http://juanreyero.com -- http://mail.python.org/mailman/listinfo/python-list