1 Reply Latest reply on Jul 20, 2014 2:11 AM by pixxxel schubser

    Liguature

    kanaga kumar Level 1

      Dear Friends,

       

      See my script below, Error found in H1 style line, how to rectify this error,

       

      myDoc=app.documents.item(0);

      for (i=1; i<myDoc.paragraphStyles.length; i++);

      {

      myPstyle=myDoc.paragraphStyles.item(i);

      if (myPstyle.name=="H1"); {

          myPstyle.hyphenation=false;

          }

      myPstyle.ligatures=false;

      }

       

      Thanks

      kanagakumar