Page 1 of 1

Sample script: Update publications from attachment name

Posted: Sun Mar 03, 2019 7:40 pm
by msteffens
In response to a request by MjRNeuro (see Importing pdfs and adding keywords from pdf title), I've written a script which loops over all publications in a group, and updates each publication's keywords with words extracted from the attachment name.

While the script may be specific to MjRNeuro's use case, the script shows how Bookends' new scripting dictionary can be used. Also, the script has been written in a modular fashion and its handlers/methods could be used as building blocks for your own scripts. It also gives an example of how AppleScriptObjC code can be used from within the same script.

The script is available here: Update group publications from attachment name

Matthias