Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

Grep script: Search for "€.+" and apply character style?

$
0
0

Having spent hours on this I almost give up. I guess it is not a big problem for everyone, but I am kind of new on scripting.

 

My problem:

I have a Indesign table (500 + pages) and need to apply character styles to all the content. To make things easier I have inserted a special character eg. "€", "‰" before every pargraph.

 

What I need to do:

1. A search for every paragraph beginning with "€" and applying paragraph style named "APPLE"

2. A search for every paragraph beginning with "‰" and applying paragraph style named "BANANA"

3. Deleting the characters "€" and "‰".

 

Any suggestions?

 

example.png


Viewing all articles
Browse latest Browse all 15932

Trending Articles



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