PDA

View Full Version : Indexing .BWW files for Spotlight Searching



mlward
09-25-2008, 01:03 PM
I run BibleWorks in Parallels on my MacBook and on my iMac. I set the user notes folder to reside in Mac OS X so I can sync the two folders on my computers.

I would like to be able to index .bww files for Spotlight searching. Does anyone know how to add them (they're just rtf's, of course) to the Spotlight indexing?

Thanks!

Mark L. Ward, Jr.

Ben Spackman
09-25-2008, 02:14 PM
I've been trying to find this out as well. Best I can do is Quicklook, but that's not very useful.

http://www.tuaw.com/2008/09/25/tuaw-tip-add-file-extensions-to-quick-look/

mlward
10-13-2008, 03:44 PM
Great, Ben. Thanks! Here's the text I put into TextEdit's Info.plist file:


<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.plain-text</string>
</array>
<key>UTTypeDescription</key>
<string>BibleWorks User Notes</string>
<key>UTTypeIdentifier</key>
<string>com.weblogsinc.tuaw.ardv</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>com.apple.ostype</key>
<string>TEXT</string>
<key>public.filename-extension</key>
<array>
<string>bww</string>
</array>
</dict>
</dict>
</array>
I put all of that just above the following:

<key>CFBundleExecutable</key> I'm afraid I wasn't sure what to do with the following line, so I just left it there:
<string>com.weblogsinc.tuaw.ardv</string>When I use QuickLook, I'm not getting rtf, though, but plain text of RTF tags. That's better than nothing, but I'm sure there's a way to get full rich text previews. I'm afraid my property list editing skills are not stellar!