Copy link to clipboard
Copied
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!
Views
Translate
Report
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!
Votes
never-displayed
Get ready! An upgraded Adobe Community experience is coming in January.