Re: Folder action script getting damaged
Re: Folder action script getting damaged
- Subject: Re: Folder action script getting damaged
- From: Rob Drage <email@hidden>
- Date: Mon, 08 Oct 2001 15:20:32 -0600
- Organization: Rastar Digital Media, Inc.
"Marc K. Myers" wrote:
>
>
I recently wrote a folder action script for a client to monitor the
>
files moving in and out of a folder that is the input folder for a plot
>
server application. Files are added to the folder and the plot server
>
removes them and processes them. The script logs the addition of files
>
to a text file and checks off those entries when the files are removed.
>
>
My client reports that at random intervals the special icon for a folder
>
with a folder action disappears and the script stops working. When
>
checked, it is no longer attached to the folder and cannot be
>
reattached. I'm assuming that the script has been damaged, as a fresh
>
copy of the script will attach to the folder.
>
>
Has anyone run into a similar problem? Does anyone know why it happens?
>
Most importantly, does anyone know a way to avoid it?
>
>
Marc K. Myers <email@hidden>
>
http://AppleScriptsToGo.com
>
4020 W.220th St.
>
Fairview Park, OH 44126
>
(440) 331-1074
>
>
[10/5/01 11:20:38 AM]
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
What are you using to remove items from the folder?
The Folder action is actually attached to the invisible Icon file inside
of the folder, so if you are using an AS to remove items, make sure it
is not removing the invisibles, if it is an application that
automatically removes them, try writing an AS that moves them to a
different folder for the app to process.
Rob Drage
Rastar Digital Media, Inc.