• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Want to modify text in a textFrame

New Here ,
Jan 01, 2017 Jan 01, 2017

Copy link to clipboard

Copied

I have a javascript that operates on a textFrame. I want to modify the "leading" characteristic on all the text in the frame, but I can't figure out how to go from the textFrame characteristics to the characteristics of the text itself. 

Any help would be appreciated.

Thanks

Views

201

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

People's Champ , Jan 01, 2017 Jan 01, 2017

Try something like:

myTextFrame.texts[0].leading = 16;

Ariel

Votes

Translate

Translate
People's Champ ,
Jan 01, 2017 Jan 01, 2017

Copy link to clipboard

Copied

Try something like:

myTextFrame.texts[0].leading = 16;

Ariel

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 01, 2017 Jan 01, 2017

Copy link to clipboard

Copied

LATEST

That works perfectly.  It's usually something simple ...  Thanks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines