1 Reply Latest reply on Sep 5, 2008 5:30 AM by (Dave_Saunders)

    How can i find numberedList in a text frame?

    (subha_oviya) Level 1
      Hi,

      I need to find the numberedList in a text frame. so that i have written a script. Syntax is given below.

      app.findTextPreferences = NothingEnum.nothing
      app.findTextPreferences.bulletsAndNumberingListType = app.findTextPreferences.bulletsAndNumberingListType.ListType.numberedList;
      var res = app.activeDocument.textFrames[0].parentStory.find();

      alert(res.length)

      But it is not working. How can i write it?

      Regards,
      Subha