Hi, everyone.
I has a javascript I've been using in CS5 to remove all layer comps.
But, now in CS6 is isn't working. When I run it, I get the error:
Here's the code:
Code: Select all/*
This script deletes all layer comps from an image.
*/
// enable double-clicking from the Macintosh Finder or the Windows Explorer
#target photoshop
// in case we double clicked the file
app.bringToFront();
var theImage = app.activeDocument;
theImage.layercomps.removeAll();
Any thoughts? Thanks!
Script that ran in CS5 not working in CS6
-
Mike Hale
Script that ran in CS5 not working in CS6
Typo in codeCode: Select alltheImage.layerComps.removeAll();// note uppercase C