Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

how can I use a script to add a comment to an XML object in the Structure?

Contributor ,
Feb 14, 2025 Feb 14, 2025

Copy link to clipboard

Copied

Hello everyone!

In InDesign, how can I use a script to add a comment to an XML object in the Structure, and how can I retrieve the comment content of an XML object?
Thank you all!

how.jpg

TOPICS
Scripting , SDK

Views

100
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

correct answers 1 Correct answer

Contributor , Feb 14, 2025 Feb 14, 2025

I have successfully added
element.xmlComments.add(comment);
and retrieved
element.xmlComments.value;
I apologize for taking up community resources, and I appreciate everyone's help.

Votes

Translate
Contributor ,
Feb 14, 2025 Feb 14, 2025

Copy link to clipboard

Copied

LATEST

I have successfully added
element.xmlComments.add(comment);
and retrieved
element.xmlComments.value;
I apologize for taking up community resources, and I appreciate everyone's help.

Votes

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