Layer Comp info to XMP Custom Panel

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

bretlinford

Layer Comp info to XMP Custom Panel

Post by bretlinford »

Hello!

I'm trying to create an applescript to extract the names of Layer Comps within a Photoshop file and insert that info into a custom XMP panel. I think I can get the Layer comp info fine but inerting the info into the xmp data is where I'm stuck. Here is my panel info:

Code: Select all<xmp_definitions xmlns:ui="http://ns.adobe.com/xmp/fileinfo/ui/">

   <xmp_schema prefix="custom" namespace="http://my.custom.namespace/" label="$$$/Custom/Schema/Label=Properties for WebNative" description="$$$/Custom/Schema/Description=This example panel contains most of the options available for the 'Generic Panel'.">
       <xmp_property name="TextML" category="external" label="$$$/Custom/Property/TextInputML_Label=Layer Comps:" type="text" ui:multiLine="true" ui:height="75"/>
   </xmp_schema>

</xmp_definitions>

Any ideas? Thanks!