Thanks so much for this. I’m quite sure it’s me doing something incorrectly but I’ve downloaded and installed the template you provided and get the following message each time I attempt to activate the template:
An error occured when adding the note. Resource not found. (-192)
I am running 2.9.12.
Thanks in advance for any help you could provide as to my error.
This script selects and shows the new note it creates. E.g., I cut some text, invoke the script, then it creates a new note and selects it.
Would it be possible for the script to not select the new note? E.g., I am typically working from a long text, cutting excerpts and making new notes. There’s a bit of friction in creating the new note, then re-selecting the long text again to cut out another new note.
Not sure if this is possible with the scripting tools–perhaps all newly created notes are always automatically selected?
Yes, exactly! I read my PDF documents and mark them up in Skim. Then I use a script to export the highlights and annotations to a single markdown file. Then I use your script to select chunks of that file to create new files (I’ve found breaking my notes down from 1 document to several smaller documents gets me better “see also” results).