.remove() is not a function error in Photoshop CC 2017 ExtendScript Tool Kit
I am trying to modify original PSD and then delete the original one and only want to save as a new jpg. My code is working fine with this line: activeDocument.close(SaveOptions.DONOTSAVECHANGES); // Close Original Image But when I replace above…