Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe Photoshop Using javascript to find subscript or superscript

  • Using javascript to find subscript or superscript

    Posted by Rob Stemm on October 16, 2009 at 8:14 pm

    Is there a way using javascript to tell if a textItem has the subscript or superscript text style applied to it?

    For example. I can find if the allcaps text style is applied by the following.
    if (layer.textItem.capitalization == TextCase.ALLCAPS)
    {
    //DO SOMETHING
    }

    How do I do the above, but with the subscript text style and the superscript text style?

    Thanks,
    Rob

    Rob Stemm replied 16 years, 7 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy