0 Replies Latest reply on Mar 24, 2015 5:36 AM by selvam214

    Font replacement issue

    selvam214 Level 1



      I have replaced the font with the script, but the empty frames (no text, only have the cursor point) still not changed, if it possible to avoid this? Can you please check the "Find Font" option in screenshot.




      var myDoc = app.activeDocument;

      var myFind = ["Times\Regular"]

      var myChange = ["Sabon LT Std\Roman"]

      for(i=0; i<myFind.length; i++)


          app.findTextPreferences.appliedFont = myFind[i];

          app.changeTextPreferences.appliedFont = myChange[i];





      Screen shot 2015-03-24 at 6.01.22 PM.png