Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

Re: Script to automatically enter document metadata

$
0
0

Dear RinaPatch,

 

Can you please try the below JS code? May be it will help to you.

 

 

var myDocument = app.activeDocument;
with (myDocument.metadataPreferences){    author = "Adobe";    copyrightInfoURL = "http://www.adobe.com";    copyrightNotice = "This document is copyrighted.";    copyrightStatus = CopyrightStatus.yes;    description = "Example of xmp metadata scripting in InDesign CS";    documentTitle = "XMP Example";    jobName = "XMP_Example_2003";    keywords = ["animal", "mineral", "vegetable"];    var myNewContainer = createContainerItem("http://ns.adobe.com/xap/1.0/", "email");    setProperty("http://ns.adobe.com/xap/1.0/", "email/*[1]", "someone@adobe.com");    }

 

 

Otherwise, please provide the details clearly.

 

thx,

csm_phil


Viewing all articles
Browse latest Browse all 37788

Trending Articles