> > Maybe I don't understand what I should be doing, but the script doesn't seem > to work for me when a single entry is selected in the .bib file's window. > Here's what I did that causes the error: > > (1) select one line in the .bib file window. See screen shot: > > <PastedGraphic-1.png> > > (2) Switch over to Script Editor > > (3) Run the script that Christiaan suggested. > > (4) I get this result: > > <PastedGraphic-3.png> > > The error appears to occur at the line: > > if count the_pubs is 1 then >
That’s AppleScript being really dumb again Add an “of” after the “count” and it works (count of the_pubs). Christiaan
_______________________________________________ Bibdesk-users mailing list Bibdesk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-users