text frame properties

Hi, I am new to illustrator and do not know about its tools' name. So, I want to change these attributes(underlined in red color shown in the picture) through ExtendScripting. Just let me know their abbreviation of VA, AA, etc or their functions in Extendscript.

  • Hover your mouse over these icons, and the name will be displayed. – Billy Kerr Nov 25 '20 at 11:22
  • Textframe has no attributes for text the text inside the text frame has a textRange and the range has a style or character attribute attached to it – joojaa Nov 25 '20 at 11:22
  • Some resources: AI JS object model chart, Adobe Illustrator CS6 Type Library JS: Application (you can go up or down the object tree by following the links on the page), TextRange, CharacterAttributes, Working With Text Ranges – Joonas Nov 25 '20 at 13:26
  • But for example, this would change the leading and tracking of the first textframe in the active document: var charAttr = app.activeDocument.textFrames[0].textRange.characterAttributes; charAttr.autoLeading = false; charAttr.leading = 70; charAttr.tracking = 200; – Joonas Nov 25 '20 at 13:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.