This content has been marked as final. Show 4 replies
Don't use anyItem -- that selects just one random member of the collection -- use everyItem:
after posting I realized what you pointed out.
But I am still tackling with the second issue:
how can I change via JS the active layer?
mydocument.activeLayer = 'Layer 1';
Thank you Peter.