Hi Christiaan and other AppleScript experts,
On Sat, Jan 25, 2014 at 5:13 AM, Christiaan Hofman <[email protected]>wrote:
>
> On Jan 25, 2014, at 3:11, Ken Mankoff wrote:
>
> It is probably easier to copy the fields from the (temporary) new item you
> get from pdfmeat to the old item. If they're always the same fields, you
> could go over those fields explicitly. Or you could loop over the fields of
> the temporary item. I do something like that in my BibDesk Download script
> available on the Wiki.
>
>
I have looked over the Download script but the key line to link the files
doesn't "just work" on my system
My code is here: http://pastebin.com/29Bbe05W
The key lines, I think, are:
*make* new *linked file* with data (theFile *as* *alias*)
*my* linkFile(*it*, theFile)
After my code runs I get the following error message:
{publication id "bdskidentifier://3B137B15-F381-4BEE-BF7D-18B34CD2EF7A" of
document "test.bib"} doesn’t understand the “make” message.
But I realize I may not actually need to link the PDF! pdfmeat.py includes
a field in the BibTeX record:
file={file:///path/to/file.pdf:pdf}
So perhaps I don't need to link something from the old record, I just need
to tell the new record to convert "file" to "linked file", however that
happens...
-k.
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users