2 Replies Latest reply on Jun 24, 2009 12:44 PM by KeithGilbert

    [JS CS4] How to unanchor all anchored graphics

    KeithGilbert Level 1

      I need to "unanchor" all the anchored graphics in a document. The document will consist of many individual text frames, each with an anchored graphic frame within it. I'm having trouble figuring out how to get at the anchored graphics. All the examples I've found seem to show how to create an anchored graphic or how to get at an anchored textFrame.

       

      I've been messing around with:

       

      myDoc.stories.everyItem().rectangles.everyItem()

       

      and I see:

       

      anchoredObjectSettings.releaseAnchoredObject()

       

      in the object model, but I can't seem to put it together. Any ideas?