Not able to read InDesign XMP File through ExtendScript and write in external xml

254 Views Asked by At

I am using InDesign 2020/2021, on my Windows 10. When I am trying to get XMP data for my .indd (InDesign document) using ExtendScript, The below line gives an error on the Adobe Extenscript toolkit

xmpFile = new XMPFile(myFile.fsName, XMPConst.FILE_INDESIGN, XMPConst.OPEN_FOR_UPDATE);

enter image description here

The is the data I want to write/read from InDesign enter image description here

Can please someone suggest, how can I read all the XMP data and write it in an XML file

0

There are 0 best solutions below