Skip to main content
zawij
Participant
September 23, 2014
Answered

Is there a way to select all text objects containing specified character?

  • September 23, 2014
  • 1 reply
  • 2286 views

Is there a way to select all text objects containing specified character?

For instance,

My artwork consists of dots and numbers.

Dots are on separated text frames, so are numbers.

I would like to select all dots, so I can group them.

Or numbers, and group them.

This topic has been closed for replies.
Correct answer CarlosCanto

yes,

- loop thru all text items

- get each contents

- compare to "."

- if matching, save a reference to that text frame

- when done with all frames

- loop thru all saved references and move to a group

1 reply

CarlosCanto
Community Expert
CarlosCantoCommunity ExpertCorrect answer
Community Expert
September 23, 2014

yes,

- loop thru all text items

- get each contents

- compare to "."

- if matching, save a reference to that text frame

- when done with all frames

- loop thru all saved references and move to a group

zawij
zawijAuthor
Participant
September 23, 2014

Thanks, probably you are right, but

in fact I never started scripting in Illustrator and I am not able to write it myself..

So the question should be posted as: Do anyone has a script...

CarlosCanto
Community Expert
Community Expert
September 23, 2014

I see, it is unlikely there is a ready made script for such particular need...One would need to be written. If time permits, some of us contributors might give it a try.