FORUMS: list search recent posts

Using javascript to find subscript or superscript

COW Forums : Adobe Photoshop

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Rob Stemm
Using javascript to find subscript or superscript
on Oct 16, 2009 at 8:14:55 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


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]