11 Replies Latest reply on Apr 2, 2013 1:07 PM by pkrk

    Finding a word on a certain layer.

    pkrk

      How would I go about finding a word on a certain layer?

       

      I can't seem to find the properties I am looking for. 

       

      I would think it would be something like 

       

       

       

      for (i=0; i<(numWords-1); i++)

        {

                          ckWord1 = this.getPageNthWord(p, i, true);

       

      if(ckWord1==myWord)

      {

        app.alert(ckWord1.parentLayer);

      }

       

      }

       

       

      I would like to be able to make it search for a word on a particular layer.