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

• Show ALL hidden object, possible via scripting?

Enthusiast ,
Jun 15, 2019 Jun 15, 2019

Hello -

I'm back with a question (since it seems not possible directly via scripting).

The question is quite simple, can we "show ALL hidden objects/items" via scripting?

I tried this but it doesn't not work:

#target Illustrator

var myDoc = app.activeDocument;

for (var p=0; p < myDoc.pathItems.length; p++ ) {

  var item = myDoc.pathItems

;

  item.hidden = false;

}

Do I have to call an action?

Thank you…

- Dimitri

TOPICS
Scripting
1.6K
Translate
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

correct answers 1 Correct answer

Community Expert , Jun 15, 2019 Jun 15, 2019

this method unhides all hidden objects, but it won't unhide layers or objects in hidden layers, so if your layer is hidden you have to make it visible first

app.executeMenuCommand('showAll');

Translate
Adobe
Community Expert ,
Jun 15, 2019 Jun 15, 2019

Layers and sublayers and groups, compound paths … and so on, too?

What kind of objects are in your document? Please show something.

Translate
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
Enthusiast ,
Jun 15, 2019 Jun 15, 2019

Hello pixxxel schubser -    

Not the layers

Nor the sublayers

I just want to show unhidden "objects" (eg. boxs, textfields, …) that could be hidden into my document.

regards,

- Dimitri

Translate
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 ,
Jun 15, 2019 Jun 15, 2019

this method unhides all hidden objects, but it won't unhide layers or objects in hidden layers, so if your layer is hidden you have to make it visible first

app.executeMenuCommand('showAll');

Translate
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
Enthusiast ,
Jun 15, 2019 Jun 15, 2019

Hey Carlos -

THANK YOU very much as a lot of time…

- Dimitri

Translate
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 ,
Jun 15, 2019 Jun 15, 2019
LATEST

you're welcome, glad to help

Translate
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