Copy link to clipboard
Copied
I have several hidden items in many different layers that I would like to delete all at once. I don't know how to do this. If I hide something and then show all, all the hidden things a designer hid are exposed and there is a ton of stuff.
HELP PLEASE
Copy link to clipboard
Copied
It could be scripted, something like this, make sure you run the script on a copy in case you get an unexpected result:
var api = app.activeDocument.allPageItems;
for (var i = 0; i < api.length; i++){
try {
if (!api[i].visible) {
api[i].remove()
}
}catch(e) {}
};