Copy link to clipboard
Copied
My current code looks like this, where I'm using 'item.parent.parent'.
but it feels a bit clunky.
Is there a better way to access `parentTextFrames[0]`?
var item = app.selection[0];
if (item.constructor.name == “Cell”) {
var textFrame = item.parent.parent;
}
Have something to add?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now