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

import grep styles to more than one paragraph style

$
0
0

Hello

 

First, I have to say that I don't have any experience in scripting. I don't create scripts, just use them.

 

I have a script that imports grep styles from one paragraph style to another (in the same document). Everytime I use it, i have to change the script, inputting the source and target paragraph styles in this piece of the code:

 

source = 'origem';

target = 'alvo';

 

What happens is that sometimes i need to do this lots of times (mostly when updating old projects). Is there any way to import the grep styles to more than one paragraph at the same time, listing multiple targets?

 

thanks!


Viewing all articles
Browse latest Browse all 15932

Trending Articles



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