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

Select all items/objects on specified layer

Community Beginner ,
Oct 13, 2017 Oct 13, 2017

Hi,

I have really tried but can't really understand the illustrator scripting guide.

What Im trying to achieve is to iterate through a layer specified by name and select all objects in it.

Does anyone have a good solution for this?

Thanks!

TOPICS
Scripting
50.7K
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

Valorous Hero , Oct 13, 2017 Oct 13, 2017

You can use this line:

app.activeDocument.layers["MyLayer"].hasSelectedArtwork = true;

Just make sure there is a layer named "MyLayer" in your document, which contains art!

Translate
Adobe
Valorous Hero ,
Oct 13, 2017 Oct 13, 2017
LATEST

You can use this line:

app.activeDocument.layers["MyLayer"].hasSelectedArtwork = true;

Just make sure there is a layer named "MyLayer" in your document, which contains art!

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