2 Replies Latest reply on May 29, 2016 10:32 PM by tpk1982

    How to define text frames loop through the active doc

    Johnwhite Level 1

      Hi experts

       

      I have this script:

       

      var myDoc = app.activeDocument;

          myTextFrame = myDoc.textFrames;

          for (var F = myTextFrame.length; F > 0; F --){

      while (myTextFrame[F].overflows)

          myTextFrame[F].parentStory.pointSize -= 0.5;

          }

       

      but I always get error after run the script, could someone tells me what's wrong with the define?

       

      regard

      John