Re: Newbie plea
Re: Newbie plea
- Subject: Re: Newbie plea
- From: Dave Balderstone <email@hidden>
- Date: Thu, 16 Nov 2000 08:00:03 -0600
>
I have written a simple script which is attached to a folder on my desktop.
>
When a file is dropped into the folder, the script changes the file type and
>
creator type to what I need.
>
>
The script works fine as long as the folder is open and I drag the file into
>
the window. If I drop the file onto the folder icon, it merely copies into
>
the folder with no changes. What am I missing?
>
Folder actions only work if the folder is open.
Adding this to the end of your script will keep it open:
on closing folder window for this_folder
beep
tell application "Finder"
open this_folder
end tell
end closing folder window for
The extension "Folder Actions Plus" will allow FA's to operate on
closed folders, but I don't use it so can't recommend or caution.
Dave Balderstone
Director, Technical Services
Western Producer Publications, Saskatoon, Canada