AppleScripts for Analyzing Bibliography Text Files

These two scripts can be used to analyze a text file containing a custom list of publication items, and put them into BibDesk. They are mainly supposed to serve as an example. You can modify them to fit your specific needs. The main part of the analyzation takes place in the routine analyzePubString. 

AnalyzePubItems.sty

This script assumes items to be separated by single blank lines. Items should span at least 3 lines, text on ≤ 2 lines are expected to be comments. The items are expected to have the following syntax:

1. Authors (single line, counter optional)
Title (may be multiple lines)
Journal Volume (Year) Pages. (single line, Year optional)

AnalyzePubStrings.sty

This script assumes each item to be written on a single line. The items are expected to have the following syntax:

Authors: Title. Journal Year; Volume: Pages. (single line)