4 Replies Latest reply on Sep 16, 2009 7:56 AM by [Jongware]

    Select found item text frame

    Techi Panda Level 2

      Hi experts


      Here I am finding sometext using character style. I got found results. Now what my need is I want to select the text frame of found item.


      app.findPreferences = NothingEnum.nothing;
      app.changePreferences = NothingEnum.nothing;

      app.findPreferences.appliedCharacterStyle = "FigCallout";

      var myResults = app.activeDocument.search();


      for (i = myResults.length-1; i >= 0; i--)
      // select the text frame where myResults[i]



      I am using CS2 Windows.


      thanks in advance



      a r u l