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


Click here to return to the 'TrashTimer for the rescue…' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
TrashTimer for the rescue…
Authored by: chally on Sep 13, '06 02:10:14PM

Perhaps you can enlighten us as to what those "three lines" were...



[ Reply to This | # ]
TrashTimer for the rescue…
Authored by: themacnut on Sep 14, '06 12:28:56PM

Oh sorry, here it is:

tell application "Finder"
empty trash
end tell

Sometimes Applescripts really are that simple. Sometimes. Anyway, that should be enough to empty the trash, especially if you put it in your "Scripts" menu. You can also schedule it to empty the trash on a regularly scheduled interval, either with cron or launchd.


---
The MacNut
Owner, ClarisWorks/AppleWorks Email List
http://awlist.macnuthome.com
The Vanguard, my webcomic:
http://thevanguardhome.com



[ Reply to This | # ]