Copy link to clipboard
Copied
Dear All,
Any possibilities to update the "Author Title" filed through the Indesign JAVAScript. Please suggest.
Thanks,
Elansezhian R.
app.activeDocument.metadataPreferences.setProperty("http://ns.adobe.com/photoshop/1.0/", "photoshop:AuthorsPosition", "My updated author title");
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 )
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 )
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.
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 )
Copy link to clipboard
Copied
app.activeDocument.metadataPreferences.setProperty("http://ns.adobe.com/photoshop/1.0/", "photoshop:AuthorsPosition", "My updated author title");
Copy link to clipboard
Copied
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 )