Re: emptying trash
Re: emptying trash
- Subject: Re: emptying trash
- From: "Robert J. Rust" <email@hidden>
- Date: Thu, 07 Dec 2000 13:00:45 -0600
Negative. We are running MacOS 9.0.4 with AppleScript 1.4.3.
Robert
>
You mention a memory leak - in relation to Applescript that is a
>
known bug with MacOS 8.5 which is fixed in 8.5.1. Could that be part
>
of your problem?
>
>
Pier.
>
>
> I'm looking for a good robust way to empty the trash, account for locked
>
> items. I know Jon's Commands has a command to do just such a thing, but it
>
> doesn't seem to deal very well with folders that have lots of files (e.g.
>
> 2000). It seemed to forget about the other files that I asked it to delete
>
> requiring a few loops to get it to actually do so. I had been using an
>
> application to do this task (Empty Trash 1.0.2), but it appears that the
>
> program has a memory leak of something that causes the script to lock up
>
> approximately 10-15% of the time (just before the script quits but after the
>
> last line of code executes. Is a 'walk folders' to make sure everything is
>
> unlocked, then a 'tell finder to empty trash' the best way to go?