Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

Re: Apply paragraph to the next paragraph after the found paragraph

$
0
0

Also tried this approach but got the same error:

 

settheStoriestoobject referenceofstoriesofmyDoc

          repeatwiththeStoryintheStories

                    try

                              settheParaStylestonameofapplied paragraph styleofobject referenceofparagraphsoftheStory

                              repeatwithxfrom 1 to (countoftheParaStyles) - 1

                                        ifmyPara = contentsofitemxoftheParaStylesthen

                                                  setapplied paragraph styleof (firstparagraphwhose (indexisgreater thanx)) tomychangePara

                                        endif

                              endrepeat

                    endtry

          endrepeat

endtell



Viewing all articles
Browse latest Browse all 37788

Latest Images

Trending Articles



Latest Images

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