I'm trying to get the 'description' metadata from a linked image so that I can add it to a text frame beneath the graphic frame (with script label "JanPic").
I've tried variations of the script below getting the error "No Metadata information available."
tell application "Adobe InDesign CS2"
tell document 1
set Janxmp to link xmp of item link of graphic 1 of rectangle "JanPic"
set Jandes to description of Janxmp --also fails with 'format' and 'modification date'
I'm clearly missing something fundamental.
Any guidance would be greatly appreciated.
I've assumed the 'link xmp' command would reference the metadata I can see in the file info window in photoshop (XMP Core Properties xap:Description) and also in Bridge (IPTC Core Description). Am I looking at the wrong UIs?