Folder Actions on Mac OSX Leopard?
half.italian at gmail.com
Thu Sep 25 01:30:42 CEST 2008
On Sep 24, 12:31 pm, "squishywaf... at gmail.com"
<squishywaf... at gmail.com> wrote:
> 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
> 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
> Any help is much appreciated,
I always wondered about Folder Actions... I just tested. You can
have applescript call python scripts via `do shell script`. But it
seemed a bit flakey.
I would either go with applescript all the way, or look in to your
More information about the Python-list