• 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 files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: empty trash with locked files


  • Subject: Re: empty trash with locked files
  • From: Jon Pugh <email@hidden>
  • Date: Mon, 17 Sep 2001 16:31:43 -0700

At 11:41 AM -0700 9/17/2001, Mike Egglestone wrote:
>I was wondering if there is a way to write a script that
>would empty the trash even though locked files are in it.

Using Jon's Commands (and Standard Additions for "path to"), you can do this:

deleteFile (path to trash) with unlocking without safety net

Good luck.

Jon


References: 
 >empty trash with locked files (From: Mike Egglestone <email@hidden>)

  • Prev by Date: Re: status display
  • Next by Date: Re: Hacking the Mac via AppleScript
  • Previous by thread: Re: empty trash with locked files
  • Next by thread: Timeout for display dialog?
  • Index(es):
    • Date
    • Thread