0 Replies Latest reply on Dec 3, 2009 10:07 PM by Wil James

    Extracting text from header, body of an InCopy table...

    Wil James Level 1

      Hi folks, I have a script that runs in InCopy CS3 on the Windows platform and part of it extracts text from the header and body parts of a table. If the insertion point is in the header, I can put the text into a variable using...

       

      var textToExtract = app.selection[0].parentStory.contents;

       

      Same scenario if the insertion point is in the body of the table. Anyway, I'm looking for a way to set the insertion point in the Header or Body sections of the table or, better yet, a way of extracting the data directly from those containers. Any ideas are, of course, appreciated. Thanks, Wil