On Jun 29, 2007, at 03:08, Niels Kobschätzki wrote:

>
> On Jun 29, 2007, at 11:46 AM, Christiaan Hofman wrote:
>
>>
>> On 29 Jun 2007, at 11:33 AM, Niels Kobschätzki wrote:
>>
>>> On Jun 29, 2007, at 11:25 AM, Christiaan Hofman wrote:
>>>
>>>>
>>>> On 29 Jun 2007, at 11:00 AM, Niels Kobschätzki wrote:
>>>>
>>>>> Hi!
>>>>>
>>>>> When I want to specify the type I want to search for in  
>>>>> Spotlight -
>>>>> what's the correct type for an item in Bibdesk?
>>>>>
>>>>> I can find the type "Bibtex" but that will turn up only the
>>>>> databases.
>>>>>
>>>>> Niels
>>>>
>>>> I'm not sure if this is set automatically, we don't seem to give a
>>>> type for Spotlight. Maybe you can try "BibDesk Item". Probably Adam
>>>> knows more about this.
>>>
>>> You can choose all available types via the spotlight-search in  
>>> Finder
>>> (cmd+f; Kind: choose others and you get the complete list - that's
>>> the way I found "BibTex" as type) and there's nothing like "BibDesk
>>> Item"
>>>
>>> Niels
>>
>> Perhaps the list of known types is not fully updated. It builds
>> dynamically anyway, and takes quite a long time for me.

It never stops for me, and keeps autocompleting random items.  Finder  
usually crashes before it finds the type I'm looking for (that bug  
report was a duplicate).

>> Also, the
>> type "BibTeX" is not from BibDesk, I guess it is declared by a tex
>> editor. So probably it's not declared explicitly as a Spotlight type
>> either. So that means also "BibDesk Item" should work. Anyway, /If/
>> you can search for the type, that's the type. If that does not work,
>> you can't. I failed to test this, as Finder's search sucks big time
>> (the only thing I can get out of it is a long beach ball).

Finder's search on 10.4 has an absolute value < 0.

> Well, on the terminal I can kinda restrict it if I use something like
> this:mdfind "kMDItemKeywords == 'Japan'cd" && "kMDItemKeywords ==
> 'Politics'cd"
>
> (restriction works because the type "kMDItemKeywords" is BibDesk-
> specific.
> Btw. I mixed up "Type" and "Kind" - I want to search for the "Kind"
> Bibdesk Item
> Interestingly if I search via the menubar-spotlight-search "kind"
> doesn't seem to work as expected while it works via the Finder.
>

In Terminal, run mdls on one of the .bdskcache files in ~/Library/ 
Caches/Metadata/edu.ucsd.cs.mmccrack.bibdesk, and look for  
kMDItemKind, but I think Christiaan is correct (I see something  
different on Leopard).  Also, kMDItemKeywords is not BibDesk- 
specific.  We have specific keys (Cite key, for instance), but they'll  
be prefixed with net_sourceforge_bibdesk in Terminal.

-- adam
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to