I ran across this project yesterday, and thought I'd point it out to others: http://code.google.com/p/pymacadmin/ "A collection of Python utilities for Mac OS X system administration." In particular, check out "crankd", a Python program for monitoring various kinds of OS X events. Bill