Hi, I'm writing an ExtendScript script, where I change text inside of nested compositions. The nesting looks like this (the green arrows show the nesting): So I've got composition "01_CONSULTING_A" which contains composition "EDIT STATEMENT 1" which contains composition "EDIT TEXT Statement 1" which then contains a text layer. In my script I edit that text layer to another language, which of course also changes the length of the text and thus the width/height of the text box. In "EDIT STATEMENT 1" there's another composition called "POSITION Arrow". Here I have to change the position so that it lines up with the end of the new text. Here's the problem: I don't seem to be able to get the correct X and Y coordinates of that text layer inside of the "EDIT STATEMENT 1" composition so that I can use those coordinates to position the arrow. I already found out that I apparently have to get the relative position of the layer in the "outer" composition. But I don't even seem to be able to get the correct coordinates of the text layer itself. So could someone maybe help me to get the coordinates of the upper left corner of the text and the lower right corner so that I can use those to move the "POSITION Arrow" composition accordingly? Thanks!
... View more