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

Update Author Title field in Indesign XMP Metadata

New Here ,
Aug 03, 2021 Aug 03, 2021

Copy link to clipboard

Copied

 

Dear All,

 

Any possibilities to update the "Author Title" filed through the Indesign JAVAScript. Please suggest.

 

elansezhianr72877736_0-1627974620312.png

 

Thanks,

Elansezhian R.

 

TOPICS
Scripting

Views

500

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

correct answers 1 Correct answer

Guru , Aug 03, 2021 Aug 03, 2021
app.activeDocument.metadataPreferences.setProperty("http://ns.adobe.com/photoshop/1.0/", "photoshop:AuthorsPosition", "My updated author title");

Votes

Translate

Translate
Community Expert ,
Aug 03, 2021 Aug 03, 2021

Copy link to clipboard

Copied

Hi Elansezhian R.,

search the forum. I think, we already had that discussed and also seen some code.

However, the basic thing is that there is a name defined in menu File > User … which is not the case with a default version of InDesign freshly installed.

 

Regards,
Uwe Laubender

( ACP )

Votes

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 Expert ,
Aug 03, 2021 Aug 03, 2021

Copy link to clipboard

Copied

Sorry. You are looking for "Author Title" and not for "Author".

That's not provided with:

app.documents[0].metadataPreferences

unlike "Author" which is.

 

Regards,
Uwe Laubender

( ACP )

Votes

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
New Here ,
Aug 03, 2021 Aug 03, 2021

Copy link to clipboard

Copied

 

Laubender, Thanks much for the reply and yes I am looking for the "Author Title" field to update through Indesign JAVASCRIPT.

 

Thanks,

Elansezhian R.

Votes

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 Expert ,
Aug 03, 2021 Aug 03, 2021

Copy link to clipboard

Copied

Another thought:

With Adobe Bridge you should be able to insert the Author Title for all filtered InDesign documents on a volume.

 

Regards,
Uwe Laubender

( ACP )

Votes

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
Guru ,
Aug 03, 2021 Aug 03, 2021

Copy link to clipboard

Copied

app.activeDocument.metadataPreferences.setProperty("http://ns.adobe.com/photoshop/1.0/", "photoshop:AuthorsPosition", "My updated author title");

Votes

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 Expert ,
Aug 04, 2021 Aug 04, 2021

Copy link to clipboard

Copied

LATEST

Hi Elansezhian R.

did you test Kasyan's code?

 

For me with InDesign on Windows 10 it works perfectly.

So I marked Kasyan's answer as the "Correct" one.

 

Also see into this article:

 

Storing custom data into InDesign file via XMP
Marijan Tompa (tomaxxi), September 7, 2010

https://indisnip.wordpress.com/2010/09/07/storing-custom-data-into-indesign-file-xmp/

 

Regards,
Uwe Laubender

( ACP )

Votes

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