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

Script to do a character count?

New Here ,
Feb 15, 2011 Feb 15, 2011

Copy link to clipboard

Copied

I was wondering if anyone knows of a script that would cout the number of characters in a text box in an illustrator document?

Thanks so much!

TOPICS
Scripting

Views

864

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

Guide , Feb 15, 2011 Feb 15, 2011

This may do you if you selected the box in question… (It includes white space characters as is)…

alert(app.activeDocument.selection[0].contents.length);

Votes

Translate

Translate
Adobe
Guide ,
Feb 15, 2011 Feb 15, 2011

Copy link to clipboard

Copied

This may do you if you selected the box in question… (It includes white space characters as is)…

alert(app.activeDocument.selection[0].contents.length);

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 ,
Feb 15, 2011 Feb 15, 2011

Copy link to clipboard

Copied

LATEST

You are awesome! Thank you so much! That worked perfectly!

Amanda

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