0 Replies Latest reply on Nov 24, 2010 5:22 AM by mlavie

    How to Access Characters Marked with a Tag, inside a TextFrame Marked with Another Tag?

    mlavie Level 1

      I am using InDesign CS5 and the CS5 SDK via ActionScript 3.4.


      Using the regular InDesign user interface, I have created a TextFrame filled with the digits 0 through 9 ("0123456789"), and tagged it as "TagA". I then marked the digit "5" within that same text with the tag "TagB".


      Now, when I start parsing the page via ActionScript, I can find the TexftFrame which has associatedXMLElement.markupTag.name ="TagA", and the contents as expected is "0123456789". However, I can find no way to get at the digit "5", which was marked as "TagB". I need to be able to access the contents of that single character marked with another tag. How do i do that?