Does anyone have a script that they can share that will open an indexed file or folder/group in DEVONthink from an external app, such as Finder, Alfred, HoudahSpot, etc.?
For the most part, my databases in DEVONthink are comprised of indexed files and folders/groups. Often when I come across files or folders in Finder, I’d like to quickly open them in DEVONthink (i.e., without slowly navigating to them again in DEVONthink). Does anyone have a script for doing this (e.g., to be trigged from the MacOS script menu, services, Alfred, etc.)? By analogy, I was thinking it might operate like DEVONthink’s “Show in Finder” - except now I’d like to “Show in DEVONthink” from an external app. To be clear, I understand that it’s a lot more complicated than this, given the potential differences in file hierarchy between Finder and the DEVONthink database where the file/folder/group’s info is located. I only mean to use this as an example.
As you can tell, I’m new to DEVONthink. I tried cobbling together scripts from various forum posts, but each seemed to force a file import. The only solution that I could come up with wasn’t very functional (way too use use-specific, as it assumed a uniform file hierarchy, database, etc.).
Thanks for any help you can lend!