Question
XMP Exception: LFA_Open: FSPathMakeRef failure
I get this error on the XMPFile call in the following script from ESTK2 on Mac OSX:
> #target bridge
>if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");
>var psdFile = new File("...picture.psd");
>if (psdFile.exists) {
>var xmpFile = new XMPFile(psdFile.fullName, XMPConst.FILE_PHOTOSHOP, XMPConst.OPEN_ONLY_XMP); // Blows up here
>var xmp = xmpFile.getXMP();
>}
"...picture.psd" is a Photoshop file that exists and has XMP data.
Any clues?
> #target bridge
>if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");
>var psdFile = new File("...picture.psd");
>if (psdFile.exists) {
>var xmpFile = new XMPFile(psdFile.fullName, XMPConst.FILE_PHOTOSHOP, XMPConst.OPEN_ONLY_XMP); // Blows up here
>var xmp = xmpFile.getXMP();
>}
"...picture.psd" is a Photoshop file that exists and has XMP data.
Any clues?
