Is there any way to have Tools ➜ Summarize Highlights use a starting template? Failing that, is there a way to invoke the functionality programmatically from AppleScript and get the output, so that one could write a script to grab the output and insert it into a template of one’s choosing?
(Basically, I’d like to try a workflow where I highlight passages in a PDF while reading it, then create a “reading summary” kind of document where I write additional notes, but I’d like to put custom text at the top of this document and have the highlights be put below that. I also want to place the file in a particular folder structure.)
Hmm. When I use the Annotation facility with the default template, it does not insert the highlighted text into the annotation document that it creates. I tested it just now by doing the following:
Found a PDF file in one of my DEVONthink databases
Used DEVONthink’s annotation facility to highlight some text in yellow.
Went to the Document Annotations inspector and verified that it listed the highlighted text
Went to the Annotations & Reminders inspector
In the Annotations pull-down, selected New from Template ➜ Default annotation
The result put an annotation in the little annotation box, but that annotation did not contain highlighted text as your example seems to contain.
Maybe I’m not following the right procedure to get it?
You can use the Insert Quote command in the Annotations dropdown.
And yes, you could define a shortcut in System Preferences > Keyboard > Shortcuts > App Shortcuts. You’d just need to open that dropdown once after creating the shortcut.
Something is not quite right in my environment. I’m looking at a PDF file that has an annotation listed in the Document Annotations inspector, but when I go to the annotation pull-down menu, the “Insert Quote” option is grayed out:
I want to learn how to do this but have a dumb question – where is the Annotations dropdown? The Manual mentions a ‘down arrow’ but I don’t see either of these when I have the Annotations inspector open.
Open the Annotations & Reminders inspector (control-3), and look to the right of the word “Annotations”. There is a small triangle there. Very small. Very very small.
If I am reading your question right, I’ve been looking at ways to achieve something similar - essentially a custom report that includes all the highlights from a PDF.
Unfortunately, I’ve yet to find a solution, but wanted to share a few things I’ve learned along the way.
First, the MacOS app Highlights (https://highlightsapp.net/ - no affiliation) does some things that DT’s own highlighting / summary tools do not. It handles tricky PDFs better than most tools I’ve tried, is specifically aimed at the academic research crowd, and has some neat tricks up its sleeve.
The most valuable to me is that it allows you to marquee select portions of the PDF, which it captures as an image. You can then send the results to DT as a textbundle, which DT deftly handles as a markdown file plus images (which is exactly what it is). Handy.
I would love to see them allow users to design the template used to generate that markdown. Until then, they offer several options to customize it.
Also, I found this post, which has some useful related ideas, in the context of DT > Bookends:
It’s not directly relevant, but does cover getting annotations from Bookends into DT with AppleScript and generating reports for that.
Anyway, thought it would be helpful to mention those here.