(http://www.organognosi.com/how-to-conne ... n-bibdesk/)
mentioned here: viewtopic.php?f=2&t=3385&hilit=devonthi ... =15#p15335
to work with Bookends and Devonthink. First, the right reference in BE and the pdf in DT have to be selected. Then, the script has to be invoked (I do that with Alfred); it pastes the BE-URL into the URL-field of Devonthink and copies the internal reference of Devonthink to the Clipboard, then returns to BE. Unfortunately, I did not find a way to paste it automatically in a field of my choice, so this has to be done by hand. I would very much appreciate other solutions!
Code: Select all
tell application "Bookends" try set theID to «event ToySRUID» "Selection" end try end tell tell application id "com.devon-technologies.thinkpro2" try set theRecord to the content record of think window 1 set the URL of theRecord to ("bookends://sonnysoftware.com/" & theID) as text set theVerweis to reference URL of theRecord set the clipboard to theVerweis end try end tell tell application "Bookends" activate end tell