Skip to main content
Known Participant
November 17, 2021
Question

How to accept PDFComments in InDesign through script

  • November 17, 2021
  • 2 replies
  • 1057 views

Once imported the PDF comments in InDesign document then how to "Accept" it(PDFComments) in InDesign through the scripts.

This topic has been closed for replies.

2 replies

Brainiac
November 18, 2021

Hi Eyenan and Manan,

that's my impression as well. There are some methods missing with pdfComments in InDesign.

If you are part of InDesign Prerelease you could follow and revive a discussion we had there some years ago when pdfComments were introduced with InDesign CC 2019.

 

Regards,
Uwe Laubender

( ACP )

 

Adobe Expert
November 19, 2021

Thanks Uwe for sharing information about the prerelease discussion. I will look into it but it seems if this has been brought to attention since so long without any redressal then it might languish a bit more.

-Manan

Adobe Expert
November 18, 2021

Maybe something like the following

app.documents[0].pdfComents.everyItem().changeStatus(CommentStatusEnum.RESOLVED_STATUS)

P.S.:- I have not tested this

-Manan

Eyenan.Author
Known Participant
November 18, 2021

Thanks Manan.

The comment was resolved but not "Accepted"(Not applied on layout page).

I need to update on layout page also.

I've attached sample i/p and o/p FYR.

 

Sample Input:

 

Manual/Expected Output:

 

Given Code Output:

Adobe Expert
November 18, 2021

Then it seems this is not possible via scripting. I can't see any other property or method of interest that can be used. See the following

https://www.indesignjs.de/extendscriptAPI/indesign-latest/index.html#PDFComment.html

Maybe someone else will chime in with some insights.

-Manan