0 Replies Latest reply on Mar 20, 2012 3:26 AM by Techi Panda

    javascript to apple script

    Techi Panda Level 2

      Hi Experts

       

      I am able to manage myself somewhat with Javascript. I am struck with applescript but I am in the situation to do applescript. Can anyone suggest me how to convert javascript code to applescript?

       

      app.findTextPreferences = app.changeTextPreferences = null;

      app.findTextPreferences.appliedCharacterStyle = "t3";

      var myResults = app.activeDocument.findText();

       

      for (f = 0; f < myResults.length; f++)

      {

      myResults[f].select();

      }

       

      Thanks in advance

       

      Regards

      arul