Hi all
I have a table that runs over many pages. Lets say 10 pages.
As the script lays out the pages I interogate the page for right or left.
Under some conditions depending on the number of columns in the table the script needs to change some of the gbounds of the textFrame that contains the part of the table.
I can not find the correct way to interrogate the table that sits inside a given textFrame.
Remember I could be on page 7 of a table that started on page 1.
I have access to the textFrame and I find all the textFrames that the table "breaks" through contain 1 InsertionPoint.
But from there onwards I am lost at sea...
myTextFrame.insertionPoints.length <--- this works
myTextFrame.insertionPoints.item(0).tables.item(0).columns.length <--- this is not working
It feels like there is nothing in the TextFrame. Of course I can see the table in ID but when scripting I can not "find" anything in there and I guess this is because the table breaks through many textFrames.
Can anybody share some light on this?
Thanks
Romano