Empty
An Empty command is a request to empty the trash. It has the same effect as choosing Empty Trash from the Special menu, except that it never warns the user before emptying--even if the Warn Before Emptying property of the Trash is set to true.SYNTAX
empty [ referenceToTrash ]PARAMETERS
- referenceToTrash
- A reference to a trash container.
Class: Reference
Default value: Reference to the local computer's TrashRESULT
A reference to the trash container that was emptied.EXAMPLE
tell application "Finder" to empty the trash