Enable text selection in QuickLook

Found this in a comment by paxman over on AppleInsider; guy there apparently found it somewhere else.  This one’s been bugging me for a while.

Btw – over at MacWorld they posted a Terminal prompt to enable text selection in QuickLook. Its awesome.
To make text selectable in Quick Look previews, you just need to enable a hidden Finder setting. Select and copy the code below, open Terminal (/Applications/Utilities), paste that code at the prompt, then press Return:

defaults write com.apple.finder QLEnableTextSelection -bool TRUE; killall Finder

After a second or two, the Finder will restart. Once it does, you’ll be able to select text in Quick Look previews and copy it to the Clipboard for use elsewhere.

If you decide you don’t deserve to select text in Quick Look, you can turn this feature off with another Terminal command:

defaults delete com.apple.finder QLEnableTextSelection; killall Finder

Enjoy!

About Steve

When it comes to the desktop, Steve is a former Amiga, Windows, and Linux user, and as of six years ago, a die-hard Mac head (who, for once, isn't thinking of changing platforms again any time soon). When it comes to the server, Linux is pretty much the only game he plays. He also enjoys hardware hacking, and shouldn't be allowed near a keyboard after the sun sets (or for that matter, after it rises. Don't say I didn't warn you).
This entry was posted in Lion Hacks. Bookmark the permalink.