Copy link to clipboard
Copied
how script get dimensions(hieght and width) text frame when place page.
text frame into indd file,,
pleas help me.
Copy link to clipboard
Copied
Moving to InDesign Scripting forum
Copy link to clipboard
Copied
afaik, there are no width and height properties but if you select a text frame and run this script:
app.selection[0].geometricBounds;
you'll get an array in the form [y1,x1,y2,x2], so the height is y2-y1, the width is x2-y1
not sure what you mean when you say "when place page..." but it is possible to attach event listener functions to a menu event.