9 Replies Latest reply on Jun 29, 2016 1:31 PM by pixxxel schubser

    Set Kerning

    Dr Tyrell

      I am trying to set the kerning between chars in Illustrator. Here's my script:

       

      var countDigits=refGrp.textFrames[0].textRange.characters.length;

       

      for(i=0; i < countDigits; i++) {

       

        refGrp.textFrames[0].textRange.characters[i].characterAttributes.kerning=50;

       

        }

       

       

      But it doesn't work. refGrp is defined earlier.

       

      Any ideas?