Select And Copy Text Right In Quicklook [OS X Tips]

By

Quicklook Text Select

Quicklook is Mac OS X’s way of letting you see any file up close with just a tap of the spacebar. When you’re in the finder, for example, and you click on a photo, you can hit the spacebar and see the photo large and up close, making it easier to figure out which images to toss, and which to save. You can do the same with any supported text file, like an rtf, doc, or pdf file to see what’s in it at a glance.

But what if you want to copy a quick bit of text to paste somewhere, like an email? Instead of opening the file, waiting for the associated app to load, and then copying the bit of text, give this trick a shot.

First up, launch Terminal, and type or paste the following command into the window:

defaults write com.apple.finder QLEnableTextSelection -boolean YES;

Then restart the finder with the following command:

killall Finder

Now you’ll be able to pop open a text file with Quicklook and highlight and copy bits of text to use elewhere. Want to put it back the way it was? Simply enter the following in terminal:

defaults write com.apple.finder QLEnableTextSelection -boolean NO;

and then the killall Finder bit again, and you’ll be right as rain.

Source: Lifehacker
Via: Addictive Tips

Newsletters

Daily round-ups or a weekly refresher, straight from Cult of Mac to your inbox.

  • The Weekender

    The week's best Apple news, reviews and how-tos from Cult of Mac, every Saturday morning. Our readers say: "Thank you guys for always posting cool stuff" -- Vaughn Nevins. "Very informative" -- Kenly Xavier.