If anyone here uses both Bookends and DEVONthink and is interested in the scripting possibilities between them, I’ve just posted this over on the Bookends forum:
I’m going to simplify and update within the next week so that it just indexes the path from Bookends instead of searching for the Bibkey. This should make the script more simple and sturdy. It will also employ Bookends new scripting library. So if you can wait a week to 10 days, I’d recommend it.
Just as a quick follow-up, I’ve simplified the script so that it should work with any file structure or naming convention–or even a complete mess of names. The scripts also now utilize the new Bookends scripting library. See the original links for further details.