Re: emptying trash
Re: emptying trash
- Subject: Re: emptying trash
- From: Pier Kuipers <email@hidden>
- Date: Thu, 7 Dec 2000 09:50:30 +0000
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?
Robert
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Robert J Rust
Microcomputer Specialist
UW - River Falls IT Services
(715) 425-4357
email@hidden
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
applescript-users mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/applescript-users
--
---
Visual ID
A new concept in the storage
and distribution of corporate and
brand identity
http://www.visualid.com
Pier Kuipers
Visual ID
2 Whitefriars
Aungier Street
Dublin 2
Tel. +353 1 476 7059
Fax +353 1 478 1366
Mobile +353 87 294 3063
ISDN +353 1 602 0754