Hello,
I’m looking for a way to create a note file related to a pdf. My idea was to get the name of the currently in DEVONthink selected pdf, create a new rtf document (or .txt or whatever would work easily) in the same group, name it “(Name of the pdf) Summary”. Then I wanted to populate the first lines of the document with it’s name, data from custom metadata fields I previously filled out manually and a DEVONthink link to the original pdf document:
Name
author
year
link
Finally DEVONthink would put a link to the file it just created in a custom metadata field called “summary” in the original pdf and open the new document.
In the end I’d have a document where I could write a summary for the PDF kind of similar to the “summarize annotations” command and if I’d be working with the original PDF later I could easily access my summary.
So after a couple of hours getting into templates and applescript I’m still unable to get the name of the currently selected file and create a new text document. If you wondered: Yes, that’s quite frustrating!
Could someone please help me?
Thank you!
P. S. Apart from my failure to script it, DT is a wonderful application and I really love it!