Re: Folder Action, lock
Re: Folder Action, lock
- Subject: Re: Folder Action, lock
- From: Michelle Steiner <email@hidden>
- Date: Tue, 9 Jan 2001 18:55:22 -0800
On 1/9/01 6:23 PM, Robert Poland <email@hidden> wrote:
>
I'm trying to create a folder action that will lock any file(s)
>
dropped on the folder. The only thing I have been able to do; only
>
drops the file in the folder, and quits. Does not lock anything. I
>
feel the problem lies in the handling of the term droppedItems.
>
>
on opening folder [this_folder, droppedItems]
>
repeat with index from 1 to the count of droppedItems
>
set currentItem to (item index of droppedItems)
>
set locked of currentItem to true
>
end repeat
>
end opening folder
You need to use adding folder instead of opening folder
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | Hard as it may be to believe, my |
| email@hidden | life has been based on a true story. |
----------------------------------------------------------------------