How can i apply a CharStyle for created footnote on the fly? [CS6-jsx]
I insert footnote insted of founded text.
mSn_text = mFound.contents; //get footnote's content
mFound.contents=""; //clear contents for keeping number of future footnote
var myFootnote = mFound.footnotes.add();
myFootnote.insertionPoints[-1].contents = mSn_text;
myFootnote.words[0].position = Position.SUPERSCRIPT;
mFound.appliedCharacterStyle = aD.characterStyles.item(mName);
And would like to mark footnote's numbers in text by red color (for clear view). How can i apply characterStyle or just color for footnote number in text (on the fly)?
)