2 Replies Latest reply on Aug 21, 2008 8:10 PM by (vinothjaguva)

    How to search content in script using script (CS3 JS ESTK2)

      Hi

      My text file containing two parameters with separated by "|"
      e.g.
      subhead|Ind_Head2

      my script containing function as subhead like

      function Heading2()
      {
      . . . .

      applyParagraphStyle(myDocument.paragraphStyles.item(subhead));
      . . . .

      }

      I want to replace with "subhead" with "Ind_Head2"

      Is this possible to write script to replace?

      Thanks in advance.