[EMAIL PROTECTED] schrieb:
Greetings,
I've been trying to figure out if it's possible to attach a Python
script to an action via Mac OSX Leopard's File Actions system. I'm
wanting to call a Python script every time a file is added to the
monitored folder. Just adding a .py file doesn't seem to do anything
at all, and I can't find any log output anywhere to see what's going
on.
I'm more just looking to see if this is or is not possible. I'm not
interested in other solutions, as I already have them lined up in case
this is a no-go, but I'd really love to be able to do it this way if
anyone has any experience. Googling around revealed pretty much
nothing.
You mean this?
http://developer.apple.com/documentation/Darwin/Conceptual/FSEvents_ProgGuide/Introduction/chapter_2_section_1.html
*I* would use ctypes to access Carbon Core. But then that's just me -
I'm sure you find a better way...
Diez
--
http://mail.python.org/mailman/listinfo/python-list