7 Replies Latest reply on Nov 26, 2014 5:35 AM by Peter Stnsz

    Delete all character styles and preserve formatting

    Techi Panda Level 2

      Hi scripters

       

      I need to delete all the character style using preserve formatting option  in my document.

       

      how can i do this, with this i have started,

       

      myDoc = app.activeDocument;

      for(var j=0; myDoc.characterStyles.length>j; j++)

      {

      //

      }

       

      thanks in advance

       

      regards

      a r u l