?

Log in

No account? Create an account
 

Text Clippings on OS X - F*cking with Clusters

About Text Clippings on OS X

Previous Entry Text Clippings on OS X Apr. 4th, 2027 @ 12:37 pm Next Entry

So, earlier today, in lieu of real work, I went snooping on my computer to try and find out why a bunch of text clippings I had from before my exciting File Vault failure had lost all their contents.

While I still haven't found the answer to the problem at hand, I did discover something very useful while poking around in Finder. I figured out how to copy and paste from text clippings!

It turns out that this problem, which has been bugging me at a low level for years, has already been solved all over the place. However, it still made me happy, so I'm sharing:

(On OS X 10.4.9)

  1. cd /System/Library/CoreServices/Finder.app
      /Contents/Resources/English.lproj/ClipWindow.nib
  2. Open objects.xib
  3. Change the line
    <boolean name="noSelection">TRUE</boolean>
    to read:
    <boolean name="noSelection">FALSE</boolean>

take a penny
[User Picture Icon]
From:waterandsleep
Date:April 5th, 2007 11:09 am (UTC)
(Link)
Text clipping files keep all their data in the resource fork... Which probably is no longer present. :(
A ls -l yourfile.textclipping/rsrc should be non-zero for a working text clipping file. I suppose a get-info in the finder should also show a file size of > 0k also.
I had no idea about copying from text clippings – that is super useful! Thanks!
http://homepage.mac.com/holtmann/eidac/software/software.html
Has a spotlight plugin for textclippings at the bottom of the page. Somehow Apple did not do this. Not that it helps at all with you current problem.
[User Picture Icon]
From:avani
Date:April 5th, 2007 04:16 pm (UTC)
(Link)
Text clipping files keep all their data in the resource fork... Which probably is no longer present. :(

::headdesk:: ... that makes a lot of sense. Thanks :-) I wonder if that also explains why about 1/10 of my iTunes songs say "file not found" until I specifically tell the program to look at that file in the iTunes folder. ::sigh::
(take a penny)
Top of Page Powered by LiveJournal.com