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
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
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
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
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.
>>
>
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,
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,
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