3 Replies Latest reply on Sep 15, 2013 4:44 AM by Harbs.

    all text frames FRAME_TO_CONTENT

    lazycarpenter Level 1



      The script below that works perfect in Indesign CC to expand all text frames with overset text in a document. I have to work on a project in CS5 now and can't figure out why it won't work.


      Please help!



      g = app.documents.stories.everyItem().TextFrames.everyItem;

      for (i=0; i<g.length; i++)

        g[i].fit (FitOptions.FRAME_TO_CONTENT);





      see below for the error: