Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Empty the trash from any application via AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Empty the trash from any application via AppleScript
Authored by: Dr. T on Sep 25, '09 10:11:36AM

You don't need any outside utilities. Launch AppleScript Editor (or Script Editor). Open Preferences. Check "Show Script menu in menu bar." Use the script below. (Add a warning about the irreversibility of emptying trash, if desired.)

tell application "Finder"
empty trash
end tell

Save this as a run only application with no startup screen. Put it in ~/Library/Scripts/ (current user) or /Library/Scripts/ (all users). It's now available for every application that retains the menu bar.



[ Reply to This | # ]
Empty the trash from any application via AppleScript
Authored by: David Allen on Sep 27, '09 07:27:28AM

And this provides him with a keyboard shortcut how?

Oh, it does not.

Which is what the post is about, a keyboard shortcut to accomplish emptying the Trash while away from the Finder.

---
David Austin Allen
Monterrey, NL, MX



[ Reply to This | # ]