Re: Empty trash with locked items
Re: Empty trash with locked items
- Subject: Re: Empty trash with locked items
- From: Pier Kuipers <email@hidden>
- Date: Thu, 19 Jul 2001 21:44:59 +0100
At 13:39 -0500 19/7/01, David Schulze wrote:
How can I empty the trash when there exists locked items?
tell application "Finder"
empty trash (with command key down?)
end tell
Try to unlock the items in the trash first:
tell application "finder"
set locked of every file of theFolder to false
end tell
Pier.
--
Pier Kuipers
Visual ID
* the Media Asset Management solution *
2 Whitefriars
Aungier Street
Dublin 2
Tel. +353 1 476 7059
Mobile +353 87 294 3063
Fax +353 1 478 1366
ISDN +353 1 602 0754
http://www.visualid.com