Woohoo! We're back in business.
The upshot is: after rebuilding my Launch Services database, things
appear to be back to normal. Clicking on Google Docs Spotlight search
results open in my browser.
But there were a couple of minor bumps along the way, which I've
outlined below. NB in particular that running the mdls command shows
that the type mappings are the same (i.e. start with
"com.google.docs.") but appear to change as I open documents.
Thanks again for the detailed help and patience! This is a really
useful piece of software that I've come to rely on. It's really useful
to be able to search for Google Docs no matter what program I'm in.
The details:
¶ I sent to Trash (but did not empty) old instances of precipitate on
my hard drive.
¶ I rebuilt the Launch Services database using the Terminal command
you gave.
¶ I rebooted.
¶ After rebooting I got the prompt again asking if it was okay to open
(not install like I wrote last time) precipitate.
¶ After Spotlight re-indexed my hard drive, I searched for a Google
Docs document. The first thing I noticed was that the icons for Google
Docs were back to the old icons. Previously, they had been displaying
as text file icons.
¶ Before I clicked on anything, I did a mdls command and got the
following, which seemed to indicate no change in the type mappings:
Macintosh:~ xyz$ mdls Library/Caches/Metadata/Precipitate/
com.google.precipitate.\
> GoogleDocsSource/*/* | grep -A 1 ContentTypeTree | \
> sort | uniq -c | grep '"'
667 "com.google.docs.document",
1 "com.google.docs.presentation",
30 "com.google.docs.spreadsheet",
7 "com.googlecode.precpitate.docs.pdf",
¶ I searched for a Google Docs document again and the first file I
clicked on opened up in TextEdit.
¶ I don't know if this made a difference but I emptied the Trash and
made Firefox my default browser again (it had been Safari for the past
week).
¶ I opened another document and this time it opened in Firefox. I
opened a couple more and they also opened in Firefox.
¶ I ran another mdls command in Terminal and got the following output:
Macintosh:~ xyz$ mdls Library/Caches/Metadata/Precipitate/
com.google.precipitate.\
> GoogleDocsSource/*/* | grep -A 1 ContentTypeTree | \
> sort | uniq -c | grep '"'
665 "com.google.docs.document",
1 "com.google.docs.presentation",
30 "com.google.docs.spreadsheet",
2 "com.googlecode.precpitate.docs.document",
7 "com.googlecode.precpitate.docs.pdf",
¶ I rebooted again.
¶ No precipitate prompt during startup.
¶ Launched Firefox.
¶ Opened another document and it opened in Firefox. I opened a few
more and they all opened in Firefox.
¶ Ran mdls command again and got the following output. Again, the type
mappings appeared to be changing as I opened up documents:
Macintosh:~ xyz$ mdls Library/Caches/Metadata/Precipitate/
com.google.precipitate.\
> GoogleDocsSource/*/* | grep -A 1 ContentTypeTree | \
> sort | uniq -c | grep '"'
659 "com.google.docs.document",
1 "com.google.docs.presentation",
30 "com.google.docs.spreadsheet",
8 "com.googlecode.precpitate.docs.document",
7 "com.googlecode.precpitate.docs.pdf",