InDesign: Insert authors document's metadata without quotes
Version
Adobe InDesign up to 2023.
Steps to reproduce the issues
Setting the active document’s metadataPreferences.author
with multiple authors, separated by comma or semicolon in a string via extendscript:
app.activeDocument.metadataPreferences.author = "Elric Wade; Anne Emu; Sophie Kumpir";
Expected result
The authors should be placed into the "Author" metadata field, separated by comma or semicolon.
Actual result
The authors are placed into the "Author" metadata field, but all set within double quotes, so they appear to be one author, not multiple authors.
Test file, screenshot, video or GIF capturing the issue (optional)
See attached screenshot.
Please make it possible to add multiple authors (e.g. with not quoting comma or semicolon separated strings, or by letting pass-in an array with names).
-
Tobias Wantzen commented
I think, the best way to handle this, should be the "app.activeDocument.metadataPreferences.author" should accept either a string (as implemented) OR an array of author strings:
app.activeDocument.metadataPreferences.author = ["Elric Wade", "Anne Emu", "Sophie Kumpir"]The latter should result in true multiple authors in the document’s metadata.
-
Tobias Wantzen commented
Thanks for the Adobe Forum there is a solution:
https://community.adobe.com/t5/indesign-discussions/indesign-insert-authors-into-document-s-metadata-without-quotes/m-p/13422099#M507216But nonetheless there could be an easier option.