Hi there,
There are quites some examples available on changing existing styles etc, but is it possible to add them using extend script if they are not added yet ?
Example :
I'm having quite some frame documents using for instance [symbol] as font. Normally spoken all strings in my file that use symbol should have the symtag character tag, however for some it's missing and that's causing issues when structuring my documents. symtag is just a fictional name for a charactertag in my catalog.
So what I'd like to achieve is the following :
1) Open document
2) traverse through document, and for each character using symbol as a font, check if it's having the symtag character tag, if not, add it.
3) save and close
1) and 3) are easy enough (well, sort off...) , but I can't find anything on how to make 2) work, I'm not even sure it's possible with extendscript to start with.
If it might simplify things, it's always just a single character that is using the font(s) in question.
Thanks in advance for anything that can get me started !