3 Replies Latest reply on Nov 21, 2014 1:39 AM by Sajeev Sridharan

    With Grep SUPERSCRİPT apply character style

    hamdifem Level 1

      I want the script with

      contained in document SUPERSCRIPT

      apply a character style

       

      app.findGrepPreferences = app.changeGrepPreferences = null;      

      app.findGrepPreferences.findWhat = Position.SUPERSCRIPT; //??

      //app.changeGrepPreferences.changeTo = "";

      app.changeGrepPreferences.appliedCharacterStyle = "myChar";

      app.activeDocument.changeGrep(); 

      app.findGrepPreferences = app.changeGrepPreferences = null;