Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'can't get folder actions to work' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
can't get folder actions to work
Authored by: macubergeek on Apr 19, '04 07:50:29AM

Ok here is a folder action that will work:
Copy and paste this into Applescript Editor and save it in ~/Library/scripts/Folder Action Scripts
Right click on the folder you want to attach it to, select enable folder actions and right click again and navigate to your new script and select attach folder action.

on adding folder items to this_folder
tell application "Finder"
set this_list to list folder this_folder without invisibles
set this_folder to this_folder as string
repeat with i from 1 to the count of this_list
do shell script "/usr/local/bin/exifcom -fw 'copyright Joe Blow' /path/to/your/folder*"
end repeat
end tell
end adding folder items to



[ Reply to This | # ]