Thoughtful, detailed coverage of the Mac, iPhone, and iPad, plus the best-selling Take Control ebooks.

 

 

Pick an apple! 
 
Untrash the Trash

Feeling trasher's remorse? On Snow Leopard, you can open the Trash (click the Trash icon in the Dock) and "untrash" individual items there. Select one or more trashed items (files and folders) and choose File > Put Back. This returns the items to where they were when you originally put them in the trash. The keyboard shortcut is Command-Delete - the same as the shortcut for trashing an item in the first place, since in deleting something from the trash you are untrashing it.

Submitted by
Matt Neuburg

 

 

Related Articles

 

 

AppleScript Gets a Truly Definitive Guide

Send Article to a Friend

AppleScript is Apple's system-level programming language for driving and automating applications. It was first made available as an option for the ill-fated System 7 Pro in late 1993; shortly thereafter Apple came to its senses and AppleScript has been present in every new system and on every new Mac since then. Meanwhile, the lack of proper documentation for AppleScript has been astounding. Danny Goodman made an early attempt, but it wasn't up to the standard of his brilliant HyperCard book, and Apple's own manual is often surprisingly vague, allusive, and incomplete.

<http://db.tidbits.com/article/02388>
<http://www.dannyg.com/pubs/>
<http://developer.apple.com/documentation/ AppleScript/Conceptual/ AppleScriptLangGuide/>

Which brings us to my latest book, AppleScript: The Definitive Guide, published by O'Reilly & Associates. AppleScript is a fairly small language, but I was amazed by how difficult it was to write this book! It took more than twice as long as I'd expected. My approach, as readers of my Frontier and REALbasic books know, is not to rely on documentation, but to bang away at the language itself, testing and experimenting, trying to deduce the underlying rules. Well, the underlying rules of AppleScript turn out to be really strange. As a result, my book contains a great deal of material I never knew before and have never seen documented elsewhere. And, needless to say, I present it all in my usual ruthlessly Euclidean manner - with the usual measure of hidden humor, of course.

<http://www.oreilly.com/catalog/applescpttdg/>

This book teaches AppleScript to beginners and explains it to experts; it's an assessment, a guide, and a reference. If you've been curious all these years, or want to get into AppleScript for whatever reason (perhaps to take advantage of AppleScript Studio to write your own apps), or if you're an AppleScript user but would like to put your understanding on firmer ground, I hope you'll consider asking Santa for AppleScript: The Definitive Guide. It lists for $40, but you can get it for $28 at Amazon and support TidBITS with the affiliate percentage at the same time.

<http://www.amazon.com/exec/obidos/ASIN/ 0596005571/tidbitselectro00/ref%3Dnosim/>

 

READERS LIKE YOU! Support TidBITS by becoming a member today!
Check out the perks at <http://tidbits.com/member_benefits.html>
Special thanks to Alberic Muller, Paul Glenn, Tom and Barbara, and
Peter Lane for their generous support!