Article View: adobe.photoshop.scripting
Article #456Re: strip exif
From: BinaryFX
Date: Wed, 04 Feb 2009 05:29
Date: Wed, 04 Feb 2009 05:29
21 lines
1051 bytes
1051 bytes
Remove Paths: (even clipping paths, so watch out!)
______________
// remove all paths
if (documents.length > 0) {
docRef = activeDocument;
for (var i = docRef.pathItems.length-1 ; i >=0 ; i--) {
$.writeln(docRef.pathItems[i].kind);
docRef.pathItems[i].remove();
}
} else {
alert("There must be at least one open document to run this script!");
}
______________
Not my code, I can't find the file/link in the Exchange.
Hope this helps,
Stephen Marsh
Technical Details
Message-ID:
<59b7b6fd.10@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b7b6fd.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,395b07c7068cc51 X-Google-Attributes: gidf5839,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: BinaryFX <binaryfx@ozemail.com.au> Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.photoshop.scripting Subject: Re: strip exif Message-ID: <59b7b6fd.10@webcrossing.la2eafNXanI> Date: Tue, 3 Feb 2009 21:29:05 -0800 References: <59b7b6fd.-1@webcrossing.la2eafNXanI> Lines: 22 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit