0 Replies Latest reply on Aug 25, 2014 3:48 AM by SangeethaRajeshkumar

    How to apply inmath character style to fraction values

    SangeethaRajeshkumar Level 1

      Hi

       

      I try to apply inmath style to fraction values in indesign file.

       

      My code here:

       

      app.findGrepPreferences = NothingEnum.nothing;

                     app.changeGrepPreferences = NothingEnum.nothing;

                     app.findGrepPreferences.findWhat = myText;

                     app.changeGrepPreferences.appliedCharacterStyle = "Fraction Answers";

         app.changeGrep();             

       

      But it throws error "Invalid value for set property 'appliedCharacterStyle'

       

      Thanks

      Sangeetha