1 Reply Latest reply on Feb 23, 2016 3:50 AM by Jump_Over

    How to insert a blank paragraph above one with an anchored picture box

    RobertKyle Level 2

      So I have a story with x paragraphs. The last one has an anchored picture frame. I want to insert an empty paragraph above it. Thought it would be simple:


      app.selection[0].parentStory.paragraphs[x-1].insertionPoints[0].contents = "\r";


      But the new character just won't show up. I've also tried putting in the last insertion point of the paragraph above (x-2) but that doesn't work either. Maybe InDesign is trying to put it inside of the of the anchored object.


      Has anyone else encountered this problem?