Code: Select all
set bibtexRefs to format myPubs using "BibTeX.fmt" as BibTeX
https://github.com/iandol/bookends-tool ... pplescript
For example, exporting my main reference set of ~7100 references takes >31 minutes using Applescript and ~1.5 minutes when using Bookends export. There is also a leak of memory when using Applescript (Jon has said it is Apple's code that leaks) that causes VM memory of WindowManger to shoot up (it drops back down when Bookends is closed), and more CPU use for the whole period it runs.
It would be nice therefore if we could automate the Export References feature of the File menu to export whole groups rather than individual references. This would trigger the same fast and efficient mechanism that Bookends runs already:
Code: Select all
export myGroup to myFile using "BibTeX.fmt" as utf8