5 Replies Latest reply on Nov 30, 2010 9:02 AM by AdobeScripts

    Get the Previous Paragraph Sibling through Script

    ChristophJohan

      Hello, I'm pretty new to Scripting Indesign but I'm slowly getting the hang of it and loving it.

       

      I was wondering if there was a way to jump between siblings using script, for instance, something like:

       

      myTextFrame.paragraphs[5].prevSibling.contents;

       

      I know this doesn't exist exactly as I've written in here, but does something similar exist? Otherwise, is there any other technique for getting the paragraph (or any object) before a given paragraph?