Copy link to clipboard
Copied
Once imported the PDF comments in InDesign document then how to "Accept" it(PDFComments) in InDesign through the scripts.
Copy link to clipboard
Copied
Maybe something like the following
app.documents[0].pdfComents.everyItem().changeStatus(CommentStatusEnum.RESOLVED_STATUS)
P.S.:- I have not tested this
-Manan
Copy link to clipboard
Copied
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:
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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 )
Copy link to clipboard
Copied
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