The main problem is copying it... Do you want to copy it to somewhere
specific, or just to the clipboard?
Thanks for your reply. Just to the clipboard — I'm transferring edits over to an InDesign file and just need the text in the clipboard.
I'm afraid that's not possible with a script.
Huh. I'm curious: Is there no way to reference the currently selected comment in the comments list?
Yes, there is (using the selectedAnnots property), but there isn't a way to
select and copy its contents to the clipboard.
You can copy the contents to a field, or even print them out to the JS