7 Replies Latest reply on Jan 26, 2010 8:17 PM by childsmile

    [CS3 JS] How to associate text with an XML tag

    Tom Tomasko Level 1

      Hello,

       

      I have a script that allows one to create or modify an XML tag after one selects text, a text frame or an existing XML tag. It works fine for making the XML tag but it does not associate the text or text frame to the tag. To do that I have to right click on the selection and use the context menu to Tag Text or Tag Frame.

       

      I want to make this automatic but cannot see how to script it.

       

      Thanks for any help