Copy link to clipboard
Copied
I need to find and replace numbers at the beginning of paragraph which is styled as nestedStyle. What is the code? ST Dishon
Copy link to clipboard
Copied
To clarify to my question above, I already have a script which searches paraqraph or character styles and renumbers or does any action, I just need to know the syntax for finding NestedStyles.
Thank you
ST Dishon
Copy link to clipboard
Copied
There is none.
You can try to infer the existence of the nested styling yourself, but
that's not for the faint of heart...
Harbs
Copy link to clipboard
Copied
Thank you for your prompt reply. Do you mean to define the specific
formatting of the nested style in the search (e.g. size, color, weight of
font)?
ST Dishon
|
Copy link to clipboard
Copied
If there's some unique identifying formatting, then yes. That's the
way to go...
Harbs
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Very nice.
You can check out this script as well: http://in-tools.com/scripts.html#apply_nested
Harbs
http://www.in-tools.com
Innovations in Automation
Copy link to clipboard
Copied
Thanx. I've downloaded it and will try it at my convenience.
ST
Copy link to clipboard
Copied
@Harbs:
At the download site of the script you write "Warning: this script will override any manually applied character styles which conflict with the nested styles!".
I tried with a lot of local formatting, but nearly all that was preserved when applying your script. The only occasion it broke was an locally formated underline gap color to a nested styled word. But that formating is rather rare as you already said at InDesign Secret's forum blog.
Are there other cases?
Uwe
Copy link to clipboard
Copied
It will not overwrite local formatting. It will change any CHARACTER
STYLEs which are applied to the nested areas.
Harbs
Find more inspiration, events, and resources on the new Adobe Community
Explore Now