Created
November 24, 2019 00:43
-
-
Save MarshySwamp/20602d3c87774239e1a6163efde2829f to your computer and use it in GitHub Desktop.
Code Snippet: Bulk removal of common Photoshop document items
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// remove all paths | |
app.activeDocument.pathItems.removeAll(); | |
// remove all alphas | |
app.activeDocument.channels.removeAll(); | |
// remove all layercomps | |
app.activeDocument.layerComps.removeAll(); | |
// remove all color samplers | |
app.activeDocument.colorSamplers.removeAll(); | |
// remove all guides | |
app.activeDocument.guides.removeAll(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment