1 Reply Latest reply on Jul 15, 2011 8:45 AM by Fred Goldman

    References to paragraphs

    Fred Goldman Level 3

      I am having trouble figuring this one out. Take any paragraph and run this script. Why does myWordsLength != myAnchoredFrames?


      myPar = app.selection[0].paragraphs[0];
      var myWordsLength = myPar.words.length;
      for(var x = myPar.words.length-1;x>=0;x--)
      var myAnchoredFrames = myPar.textFrames.length;