Skip navigation
Currently Being Moderated

Find Inline textFrames/nonlinked

Jun 25, 2010 4:14 AM

Hai Friends

                    how to find inline[floating] text frames in InDesign CS4 using script

 
Replies
  • Currently Being Moderated
    Jun 25, 2010 11:42 AM   in reply to Oviya...

    I believe that this will give you all the anchored text frames in the frontmost document:

     

    app.documents[0].stories.everyItem().textFrames.everyItem().getElements();
     
    

     

    in an array. To filter out those that are not actually inline (i.e., use a different kind of anchoring), you'll need to look at the

     

    anchoredObjectSettings.anchoredPosition
    

     

    of each item in the array. If that returns AnchorPosition.inlinePosition then you have an inline text frame.

     

    Dave

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points