Participant
April 19, 2023
Question
error line 11 on using script & out of memory error on using exif tool for removing metadata..
- April 19, 2023
- 2 replies
- 1660 views
Hello adobe Team,
i am getting a Line 11 error on Much files on opening files in Photoshop using the script on opening document, on this error metadata is still remain in documents.
#target photoshop
removeXMP();
function removeXMP(){
if(!documents.length) return;
if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");
var xmp = new XMPMeta( activeDocument.xmpMetadata.rawData);
XMPUtils.removeProperties(xmp, "", "", XMPConst.REMOVE_ALL_PROPERTIES);
app.activeDocument.xmpMetadata.rawData = xmp.serialize();
}
we are working on tiff and jpg files
I am getting another error "out of memory"on using exiftool with this coomand line "
exiftool -r -overwrite_original -XMP-photoshop:DocumentAncestors= "location of My Problem Folder Full of Bloated Images"
we are working on tiff and jpg files in photoshop...
