3 Replies Latest reply on Jun 17, 2009 3:39 PM by sstanleyau

    script to convert 'all' tables to text?

    seb400

      I've found a previous post from Kasyan Servetsky with a 'example' script to convert the first table in the first text frame to text:

       

      var myDoc=app.activeDocument;
      var Txttable=myDoc.textFrames[0].tables[0];
      Txttable.convertToText("\t","\r");

       

      Would someone be able to help me extend this to apply to every table in a 200 page document?

       

      Steve