quicklook defualt select & copy text EL Capitan

Has any one come up with the command for enabling select and copy text in the QuickLook view.


The old default commands do not seem to work any more??


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

MacBook Pro, OS X Yosemite (10.10.5), 15"i7 500GB 16GB RAM iPhone5 iOS8.4

Posted on Sep 30, 2015 1:57 PM

Reply
41 replies

Dec 9, 2015 9:39 AM in response to leroydouglas

Hi Leroy,


Using Spotlight, here is the status of content selection in the Spotlight preview window. It is not clear that Spotlight is using QuickLook as much as it is dividing its document imaging between what Preview or TextEdit will show.

  • Yes
    • .doc/.docx/.pps/.ppt/.pptx/.xls/.xlsx (also scrollable)
    • .rtf including text-based .rtfd
    • .numbers '09 v2.3, keynote '09 v5.3 (don't have it, but should allow)
    • .odt
    • all text based documents, including source code, xml, plists, and .command files
    • compatible image types
  • No
    • PDF
    • .pages (Pages '09, Pages v5.6.1) - images as a PDF (as it would in Preview), Numbers v3.6.1, Keynote v6.6.1
    • .wpd (Word Perfect via LibreOffice) - does not launch LibreOffice to image these.
    • .pub (MS Publisher via LibreOffice)
    • .cwk (AppleWorks via LibreOffice)
    • .ods (LibreOffice spreadsheet)
    • .odg (LibreOffice Draw)
    • .epub
    • Scripts that start with */awk -f, */sed -f - appear as black Exec icons
    • Binary plists
    • HTML email
    • .css (Cascading Style Sheets
    • .html (Hypertext Markup Language)
    • .md (Markup document)

Dec 31, 2015 7:13 AM in response to leroydouglas

Interestingly enough, every computer I upgraded from 10.8.5, 10.9.5 or 10.10.5 to 10.11.2 that that this feature enabled, the feature remained enabled.


If I check my settings, it shows 1, not True or yes.


$ defaults read com.apple.finder QLEnableTextSelection

1


But I did set it back in 10.7.x, 10.9.2, & 10.10.2 with the command:

defaults write com.apple.finder QLEnableTextSelection -bool true


Looking forward to a solution that works on a clean install instead of an upgrade.


As an aside, I've also noticed that you can no longer preview a web page URL sent to you via Messages. :-(

Jan 7, 2016 1:00 PM in response to leroydouglas

Test whether the pref already exists, & if it does what its current value is, using

defaults read com.apple.finder QLEnableTextSelection

Then try one of these to set your new pref

defaults write com.apple.finder QLEnableTextSelection -bool TRUE
or
defaults write com.apple.finder QLEnableTextSelection -bool YES

Test again to check the value was at least written, should return

1
if present & enabled.

Restart the Finder if your result did change from

0
to
1
.

Empirically,

YES
&
TRUE
give the same result, as do
NO
&
FALSE.

On my iMac 27 5k with El Cap 10.11.2 my value is 1, but still can't select text from Quick Look.

Any suggestions? Thanks

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

quicklook defualt select & copy text EL Capitan

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.