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

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.

Apps you might like

About the author

Rob LeFebvreRob LeFebvre is a freelance writer and editor living in Anchorage, Alaska. He contributes to online tech, gaming and iOS websites around the net, including Cult of Mac, 148Apps, VentureBeat, and Paste Magazine. He owns and operates GamesAreEvil as well, so it's surprising he finds time to have two amazing kids, a disco band, and (yes) a day job. Feel free to find Rob on Twitter @roblef

(sorry, you need Javascript to see this e-mail address)| Read more posts by .

Posted in OS X, Tips & Tricks | Tagged: , , , , |


scribol