⇡

DEVONlink - Integrate Obsidian with DEVONthink

Published Mar 15, 2021

# DEVONlink - Integrate Obsidian and DEVONthink

Download the Open DEVONthink record in Obsidian AppleScript

If you keep your Obsidian notes indexed in DEVONthink, I have just released a new plugin that allows you to open those notes directly from Obsidian, and a companion AppleScript that lets you open your Obsidian notes from within DEVONthink 3.

This video shows the user using the plugin and AppleScript to open notes back and forth from Obsidian and DEVONthink.

In version 2 of the plugin (now released), there’s also a command taking advantage of DEVONthink’s AI features to insert a list of items related to the current note into the note.

The Insert Related Items feature

# Set up and use

# The plugin

Download the plugin via the Obsidian Community Plugins gallery, or manually via GitHub.

The plugin has two commands:

Feel free to assign hotkeys for each.

It also adds a button to Obsidian’s menu ribbon. The button’s colour can be customized to either inherit colour from the theme you’re using or to stand out with DEVONthink’s bright blue hue.

# The AppleScript

Get the AppleScript via the button above.

Open it in the AppleScript editor. On line 12, replace the ID there with the ID name of your vault.1 Find the ID in Application Support/obsidian/obsidian.json. Be sure that the name is an exact match.

Install it by following the instructions on the in-app Help → Toolbar Scripts page. (Or assign it to an Alfred or Keyboard Maestro macro or whatever you’d like!)

# How it works

Disclaimer: the approach I used isn’t super robust.

# From Obsidian to DEVONthink:

The plugin just finds the first instance of a file with the same name as the one you have active in Obsidian. If you have multiple files of the same name, it’ll just find the first one!

# From DEVONthink to Obsidian:

The plugin takes the name of the file and generates an Obsidian URL scheme obsidian://open action.

# Reporting issues

Please report issues or capture feature requests via the plugin’s GitHub Issues.


  1. The ID has since been made harder to find, so I updated the file to accept the name of your vault instead. ↩︎