Sample script: Update publications from attachment name

Users asking other users for AppleScripts that work with Bookends.
Post Reply
Posts: 35
Joined: Thu Jul 19, 2007 10:04 am
Location: Germany

Sample script: Update publications from attachment name

Post 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


Post Reply