• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Empty trash with locked items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Empty trash with locked items (From: Nigel Garvey <email@hidden>)

  • Prev by Date: Quark not returning picture name or path properly
  • Next by Date: Re: Quark not returning picture name or path properly
  • Previous by thread: Re: Empty trash with locked items
  • Next by thread: Re: Empty trash with locked items
  • Index(es):
    • Date
    • Thread