javascript - get and set an text element in a table with a script in indesign -


i looking indesign scripts , have not found topic, think important. here question: - how modify text frame in table in indesign cs6 javascript ?

i have try instruction :

app.activewindow.activepage.textframes[0]; 

but doesn't work.

thanks in advance!

pages have text frame, contains table. tables must anchored within text frame far know. if there text frame within table, need access it:

var doc = app.activedocument;  doc.pages[0].textframes[0].tables[0].textframes[0]; 

in other words, need reference text frame twice. 1 text frame contains table , text frame within table.


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -