Convert Quark 6.5 Table to text

Hi,

Can anybody help me on how to convert Quarkxpress 6.5 table to text using applescript.

I have a document with number of tables in it. An I want to convert all tables to text with tab delimited.

Thanks,
Gopal