Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


How to accept PDFComments in InDesign through script

Community Beginner ,
Nov 17, 2021 Nov 17, 2021

Copy link to clipboard

Copied

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

TOPICS
Scripting

Views

110

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 17, 2021 Nov 17, 2021

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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 18, 2021 Nov 18, 2021

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:

Input.png

 

Manual/Expected Output:

Manual_Output.png

 

Given Code Output:

Given_Code_Output.png

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 18, 2021 Nov 18, 2021

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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 18, 2021 Nov 18, 2021

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 )

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Nov 18, 2021 Nov 18, 2021

Copy link to clipboard

Copied

LATEST

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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines