Re: Empty trash with locked items
Re: Empty trash with locked items
- Subject: Re: Empty trash with locked items
- From: Jon Pugh <email@hidden>
- Date: Fri, 20 Jul 2001 08:23:27 -0700
At 3:09 PM +0100 7/20/2001, Nigel Garvey wrote:
>
If you have Jon's Commands, you can do this:
>
>
tell application "Finder"
>
deleteFile (get items of trash) with unlocking without safety net
>
update
>
end tell
I think you'll need to get the files from the Finder as aliases. Using object specifiers like this shouldn't work (I've actually tried to make it work, but not successfully).
tell application "Finder"
set x to items of trash as alias list
end tell
deleteFile x with unlocking without safety net
Good luck.
Jon