Extract Comments from PDF via Script
This discussion was created from comments split from: Sample Note - open to suggestion for improvements.
It is a reply to @ndpi's request for @achamess's PDF script.
It is a reply to @ndpi's request for @achamess's PDF script.
Author at Zettelkasten.de • https://christiantietze.de/
Howdy, Stranger!
Comments
@ndpi, I've written a few scripts that extract PDF highlight annotations from Papers 3:
These could maybe serve as examples or starting points for you. For more info on how to script Papers 3, see Scripting Papers 3 for Mac with AppleScript – A Getting Started Guide.
@ndpi, and here's a script that copies formatted references and citekeys (in MultiMarkdown format) to the clipboard:
@msteffens This is very helpful, thank you! AppleScript is still somewhat of a strange beast to me - and I've worked as a professional software engineer.
@ndpi I highlight in Skim.app and then extract to Sublime ZK.
Here is the script. I can't promise it still works. But give it a try. It's pretty amateurish but it gets the job done for me.
https://github.com/achamess/skim_to_md_script
Suggestions for Emacs from various sources in this thread https://www.reddit.com/r/emacs/comments/7yxg1t/extracting_pdf_highlights_and_linking_back_to_pdf/