Make an Annotation with Links, Notes, Tags v2

Re: Peter100’s request to open the new RTF in order to take additional notes (and add groups/tags), you could look at a slightly different take that I recently asked about on an older thread: New rtf doc from selected text with URL to pdf
Look in particular at korm’s modified code (Aug 19).
That code has you select PDF text (or, I discovered, just a page or part of a page if it’s an image-only PDF), then it creates a new RTF file in the group you assign, pastes the selected text into the RTF and adds a URL link from the RTF back to the PDF page, and then opens the RTF so you can take more notes (side by side with the original if you want). You can add other tweaks as well: add the summary filename to the body for the AI…

That thread’s code doesn’t include the autonumbering and automatic annotation tag that this thread’s code has, just the group assignment. If you prefer the other features of this code, I’d guess you could add them to that code or add something similar to this thread’s code. For example:

  1. set theAnnotationDocument to create record…
  2. open window for record theAnnotationDocument

So many ways to skin a cat. If your analysis requires fine gradations in your notes, a single document needs to be broken up into a lot of separate notes (the venerable “one thought, one note” note-card method).

It’d be nice if Devonthink could include a couple different models (i.e. scripts) for note-taking, or at least offer a variation on the current Annotation model, which only allows one annotation file per PDF. I know lots of historians who would be interested in that functionality, but will never dive into Applescript, or this forum.