1 Reply Latest reply on Aug 1, 2013 11:31 PM by virender_CTS

    Replace fonts in InDesign CS6, js

    Yuliaart Level 1



      is it possible to replace document fonts on document level instead of going through every text object in the document? Let's say Times with Times New Roman.


      Thank you.

        • 1. Re: Replace fonts in InDesign CS6, js



          I also use this script but with additional information.


          var mydoc = app.activeDocument;
          app.findTextPreferences = NothingEnum.nothing;
          app.changeTextPreferences = NothingEnum.nothing;

          // find here
          app.findTextPreferences.appliedFont = "Arial";
          app.findTextPreferences.fontStyle = "Regular"   // this is additional

          // change here
          app.changeTextPreferences.appliedFont  = "Frutiger";
          app.changeTextPreferences.fontStyle  = "45 Light";





          PS: I could able to write this script with help of:

          Jump_over (Jarek)

          Laubender (Uwe)

          Yogesh (my colleague)