jonathansick / ads_bibdesk

(Unmaintained) Mac OS X service for frictionless import of NASA ADS and arXiv publications into BibDesk.
GNU General Public License v3.0
37 stars 20 forks source link

Choose which bibliography to add to? #70

Open ethankruse opened 6 years ago

ethankruse commented 6 years ago

Is it possible to choose which bibliography we want adsbibdesk to add to? It seems like it defaults to whichever you last opened? I have a couple different bibliographies for different projects in different fields that I like to keep separate for ease of finding things, but I don't see a flag for adsbibdesk to know which file to add to.

keflavich commented 6 years ago

I don't know, unfortunately. Since you have to have bibdesk open to begin with, it is likely defaulting to whichever bibliography is open and in the foreground. Have you explored whether bringing different bibdesk windows to the front accomplishes anything different?

ethankruse commented 6 years ago

Hm, I didn't actually know you were supposed to have bibdesk open at all. I've always used the command without it open, and then bibdesk will open to the most recent bibliography and add the paper I wanted. I haven't done any rigorous testing with multiple bibliographies open to see which one it defaulted to.

I guess the feature I'd want would just be something like a --file flag followed by a .bib file, and adsbibdesk would open that file and add the paper there. Anyway, not urgent or crucial, was just curious if this was on the radar as I'd find it useful.

keflavich commented 6 years ago

You're right, it looks like it uses the most recent.

If I can figure out how to add such a flag, I will, but I haven't dug around into that part of the code much at all; my expertise lies more on the http requests side.