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

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.jpgexpand image

TOPICS
Scripting , SDK
110
Translate
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.

Translate
Contributor ,
Feb 14, 2025 Feb 14, 2025
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.

Translate
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