2 Replies Latest reply on Jun 22, 2011 10:36 AM by Gonterman1201

    Writing metadata

    Gonterman1201 Level 1

      var myDocument=app.activeDocument;

       

      with (myDocument.metadataPreferences){

       

      var myNewContainer = createContainerItem("http://ns.adobe.com/xap/1.0/", "email");

       

      setProperty("http://ns.adobe.com/xap/1.0/", "email/*[1]", "edmd:Color: 4/C");

       

      setProperty("http://ns.adobe.com/xap/1.0/", "email/*[2]", "edmd:year: 2011");

       

      setProperty("http://ns.adobe.com/xap/1.0/", "email/*[3]", "edmd:trimSize: 800");

       

      }


      I am trying to write over "http://ns.adobe.com/xap/1.0/" and all the other standard indd xmp I am wondering if this is possible. With out importing an xmp file. The current script obviously places a new folder into "http://ns.adobe.com/xap/1.0/" but I would like to write over it.

       

      Thanks Brett G.