Watch folder for file close and mount volume

Hi I would like obtain a folder action script that watches a file, when it is no longer open (by the one application) the script will mount iDisk. Any help appreciated.

What will happen is: when file closes from particular application in particular folder, iDisk mounts thus ChronoSync will launch itself and synchronise that file to iDisk.
Part missing is the script that will watch that folder and then mount iDisk.

Model: G5 PowerMac
Browser: Safari 419.3
Operating System: Mac OS X (10.4)

Hello

Maybe I understang wrongly but it seems that what you ask for doesn’t match the actions treated by Folden Action Scripts.

They are:

opening folder‚v : Called after a folder has been opened into a window
opening folder alias : the folder that was opened

closing folder window for‚v : Called after a folder window has been closed
closing folder window for alias : the folder that was closed

moving folder window for‚v : Called after a folder window has been moved or resized
moving folder window for alias : the folder whose window was moved or resized
from bounding rectangle : the previous coordinates of folder window (you can get the new coordinates from the Finder)

adding folder items to‚v : Called after new items have been added to a folder
adding folder items to alias : Folder receiving the new items
after receiving list of alias : a list of the items the folder received

removing folder items from‚v : Called after items have been removed from a folder
removing folder items from alias : the folder losing the items
after losing list of alias : a list of the items the folder lost. For permanently deleted items, only the names (in strings) are provided.

Yvan KOENIG (from FRANCE vendredi 13 octobre 2006 13:48:3)

Hi thanks for the prompt reply. Yes I was hoping something could be modified. The application creates temporary files, and when the file closes they are removed. So techically I could use the:

removing folder items from‚v : Called after items have been removed from a folder

yes?..

Paul