Skip to main content
frameexpert
Community Expert
Community Expert
January 26, 2025
Question

Undocument Table Column Object

  • January 26, 2025
  • 0 replies
  • 80 views

I was working on a Conditional text script for a client and realized that conditions can now be applied to table columns as well as table rows.

Here is some code where you can see the table Column properties. Put your cursor in a table and run the code.

#target framemaker

var doc, tbl, col;

doc = app.ActiveDoc;
tbl = doc.SelectedTbl;
col = tbl.FirstColumnInTbl;

alert (col);
alert (col.reflect.properties.sort ().join ("\r"));