Hi
Suppose I have a file in desktop called "test.jpg". So I create this variable:
var myFile = new File ("~/Desktop/test.jpg");
This file has some keywords and instructions I need to read. And if the reading process finds the correct keyword, then it copies the file to the appropriated folder. Well, in resume, I could do everything directlly using #target estoolkit. I´d not like to involve (opening) Photoshop or Bridge.
Is it possible to read the metadata of a file without targetting Bridge or Photoshop? Reading the reference I did not find any method or property for this, expect for the metadata library. BUT
If I try to load the metadata library using:
if (ExternalObject.AdobeXMPScript == undefined) {
ExternalObject.AdobeXMPScript = new ExternalObject('lib:AdobeXMPScript');
};
then it sure will returns an error file or folder does not exists..
Any idea how I could proceed to load this library and read the metadata of a file directlly?
Thank you very much
Best Regards
Gustavo.