Autolinking Bookends & DEVONthink records

Hi all,

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:

https://www.sonnysoftware.com/phpBB3/viewtopic.php?f=6&t=4823

You can see a description of what the two scripts I’ve produced do. The relevant gists are:

Link all records in group: https://gist.github.com/zverhope/86c5f7b85cb612aa2629d81c0a3dc241

Link selected record: https://gist.github.com/zverhope/9e9e55f5738cd3674a89f701622fbf12

Thought this might be of interest to a few of you!

All best,

Zach

1 Like

Very nice. I hope some people will find them useful.

PS:

tell application id “DNtp"

is the suggested method now. Cheers!

1 Like

Thanks for the reminder! I’ve updated the scripts to reflect.

Good to see that Bookends 13.2 has moved beyond that raw Apple Event syntax, and now contains a full (and quite rich) Applescript dictionary.

(Which also makes it much easier to use with Javascript for Automation)

3 Likes

@houthakker: Indeed it’s nice to see!

This is amazing Zach. I am going to use your script (I might need some help thought).

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.

2 Likes

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.

1 Like