0 Replies Latest reply on Aug 3, 2008 8:40 PM by hm_arul

    CS3 find and change problem

    hm_arul Level 1
      Hi all

      here I am trying to find alpha character and change to unicode.

      below is my script, but it's not working, the error shows, "NO FONT FAMILY". This script works with some fonts and not with some fonts. I am confisued!

      app.findTextPreferences = app.changeGrepPreferences = null;
      app.findPreferences.appliedFont = 'Symbol';
      app.findTextPreferences.findWhat = 'a';
      app.changeTextPreferences.changeTo = 'α';
      app.changeTextPreferences.appliedFont = 'Times New Roman';
      app.activeDocument.changeText();

      Kindly advice me how I can do this?

      thanks

      regards
      a r u l