Re: [Bibdesk-users] recommended way to add Doi?

2008-05-05 Thread Alex Montgomery
Sure, just add: if newDOI starts with "doi:" then set newDOI to text 5 thru -1 of newDOI set field "doi" of thePub to newDOI end if Or here's some lazy (and bad) code that looks for the first numeric character: repeat with iChar from 1 to number

Re: [Bibdesk-users] recommended way to add Doi?

2008-05-05 Thread Adam R. Maxwell
On Monday, May 05, 2008, at 09:56AM, "Alex Montgomery" <[EMAIL PROTECTED]> wrote: >On 2008-05-04, at 6:40 PM, Adam R. Maxwell wrote: > >> Indeed. It might be feasible to extend the current special-case >> handling of DOI, but special cases suck. You could look into adding a >> script hook that

Re: [Bibdesk-users] recommended way to add Doi?

2008-05-05 Thread Alex Montgomery
On 2008-05-04, at 6:40 PM, Adam R. Maxwell wrote: > Indeed. It might be feasible to extend the current special-case > handling of DOI, but special cases suck. You could look into adding a > script hook that fires when the DOI field is set, and then the onus is > on you to keep it working :). I

Re: [Bibdesk-users] recommended way to add Doi?

2008-05-04 Thread Adam R. Maxwell
On May 4, 2008, at 6:04 PM, James Howison wrote: > > On May 4, 2008, at 7:57 PM, Adam R. Maxwell wrote: > >> >> On May 4, 2008, at 4:38 PM, James Howison wrote: >> >>> I just added Doi as a default field in my library. Quite a few >>> references already had it. I created a new reference and cop

Re: [Bibdesk-users] recommended way to add Doi?

2008-05-04 Thread James Howison
On May 4, 2008, at 7:57 PM, Adam R. Maxwell wrote: > > On May 4, 2008, at 4:38 PM, James Howison wrote: > >> I just added Doi as a default field in my library. Quite a few >> references already had it. I created a new reference and copied in a >> value for the Doi field in the Edit window. >> >

Re: [Bibdesk-users] recommended way to add Doi?

2008-05-04 Thread Adam R. Maxwell
On May 4, 2008, at 4:38 PM, James Howison wrote: > I just added Doi as a default field in my library. Quite a few > references already had it. I created a new reference and copied in a > value for the Doi field in the Edit window. > > I was surprised that it didn't show up in the Files section,

Re: [Bibdesk-users] recommended way to add Doi?

2008-05-04 Thread Christiaan Hofman
On 5 May 2008, at 1:38 AM, James Howison wrote: > I just added Doi as a default field in my library. Quite a few > references already had it. I created a new reference and copied in a > value for the Doi field in the Edit window. > > I was surprised that it didn't show up in the Files section,

[Bibdesk-users] recommended way to add Doi?

2008-05-04 Thread James Howison
I just added Doi as a default field in my library. Quite a few references already had it. I created a new reference and copied in a value for the Doi field in the Edit window. I was surprised that it didn't show up in the Files section, because those items that had a Doi now had a link to