Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

How do I select objects based on a list written in a text frame?

$
0
0

I want to select objects whose names are in a list in a text frame but can't figure it out.

Let's say I have 200 objects with very specific names that never change, like "Polygon001", "Polygon002", etc. and I put some of these names, ordered or not, in a text box (or frame), comma- tab- or CR-separated. I want to make a script that reads those names and selects the objects with the same name, so I can color them, copy them or whatever. Is there a way to read such a list to accomplish this task? I'm new to Illustrator scripts and I think that'd help me a lot when coloring features in maps or copying a region to make a zoom-in.

Thanks in advance!


Viewing all articles
Browse latest Browse all 12845

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>