• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Hidden items

Participant ,
Apr 04, 2024 Apr 04, 2024

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

TOPICS
Performance

Views

88

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 04, 2024 Apr 04, 2024

Copy link to clipboard

Copied

LATEST

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) {}
};   

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines