Skip to main content
MCThomas5000
Participant
July 28, 2017
Question

GREP like targeting of specific characters

  • July 28, 2017
  • 1 reply
  • 1936 views

Hello, I'm looking for a solution very much like InDesign can use a GREP style to recognise a repeating character, isolate it and treat it with a special character style.

I have multiple lines of live text that when ever a "+" sign is inserted a baseline shift needs to be actioned to bring it down past the baseline. I have a character style to achieve this but need to automate the process so it can be used in conjunction with a data-set.

Thanks

This topic has been closed for replies.

1 reply

Srishti Bali
Legend
July 28, 2017

Hi MCThomas,

I found a similar discussion and it could be possible through scripting. Please refer to the link mentioned below

Perform grep search

Also I am moving this thread to Illustrator Scripting​ so that one of the scripting expert can help you out.

Regards

Srishti

MCThomas5000
Participant
July 31, 2017

Thanks, Srishti, I'll reframe my question for this forum:

Hello, my scripting knowledge is limited but not hopeless!

Using a variable library I am pulling in a data for a set of names over a pre-styled text object, batching a set of actions and saving each set out into multiple file types.

Every name "could" contain an addition symbol "+". If and when it does appear a character style needs applying before the actions run and save out.

A kind of find and assign seems logical.

Regards

Mark

Silly-V
Legend
July 31, 2017

Hey there, do you have an example screenshot or something, which you can show us?