Watched Folders

Hi
I’m trying to write a script that will watch a folder for items (Files & Folders) being added or replaced and then notifying me . If possible I would like the script to notify me if a file inside a folder in the watched folder has been added or replaced.

Thanks in advance.
Ben.

Check out the “Folder Action Scripts” which shoud be in your /Library/Scripts/Folder Action Scripts/ directory. Apple has supplied a couple of scripts that do what you are requesting.

Is there a way to do this WITHOUT using a folder action? I, too, would like to script an app that stays open and displays a dialog telling me that a file (in my case, a PDF) has been sent to a specific folder and if I would like to open that file. The folder that I would have this app watch is on a server that I don’t have permission to alter of add things to.
Thanks

A good start…

http://scriptbuilders.net/files/folderactionreplacement1.0.0.html

works pretty good for me!