2 Replies Latest reply on Nov 30, 2016 7:39 PM by natrev

    Get userComment details from Metadata?

    natrev Level 3

      Hi

      Is this possible to get userComment details from Metadata?

      I tried this code is not working properly. Kindly anyone suggests me to solve this problem.

       

      var xmpString = app.activeDocument.xmpMetadata.rawData;
      var flg = xmpString.match(/<exif:UserComment>(\w)<\/exif:UserComment>/);
      

       

       var xmpString = app.activeDocument.xmpMetadata.rawData;
       var comment = xmpString.getProperty( XMPConst.NS_EXIF, "userComment" );
      

       

       

      Screen Shot 2016-11-30 at 5.25.10 pm.png

       

      -yajiv