folder action not working as expected

Joined
Sep 7, 2009
Messages
7
Reaction score
0
Points
1
The following applescript is assigned to as a folder action
-------
on opening into folder
do shell script "/Users/me/Desktop/done/clean.pl"
end opening
------

I have checked that the middle line works by itself by running it and getting the expected result.

But folder-action just isn't working. Opening folder --- "done" here --- does not do any thing. I assigned it by right clicking on the folder and doing necessary stuff
 
OP
M
Joined
Sep 7, 2009
Messages
7
Reaction score
0
Points
1
Turns out that you cannot put the script anywhere but "/Library/scripts/folder action scripts"

Also

The first line should be "open opening folder"
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top