Skip to main content
Participant
December 6, 2017
Answered

Is there a way to detect whether or not specific features are enabled on a textFrame?

  • December 6, 2017
  • 1 reply
  • 325 views

Features like small cap, swashes, all caps, etc. I need to rename the artboard based on any enabled features.

This topic has been closed for replies.
Correct answer OMOTI

Hi,

Getting the property "CharacterAttributes.capitalization" is your help.

An example about accessing the property:

app.activeDocument.textFrames[0].textRange.characters[0].characterAttributes.capitalization;

1 reply

OMOTI
OMOTICorrect answer
Inspiring
December 6, 2017

Hi,

Getting the property "CharacterAttributes.capitalization" is your help.

An example about accessing the property:

app.activeDocument.textFrames[0].textRange.characters[0].characterAttributes.capitalization;