ADOBE AFTER EFFECTS: Forum Expressions Tutorials Podcasts Creative Cloud

Scripting access to hidden text box information

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Jens TheisenScripting access to hidden text box information
by on May 11, 2014 at 12:37:17 pm

Have a look at the following screenshot:

You notice that the anchor point is at zero (green arrow), but it's visual representation (orange arrow) isn't inside its bounding box (purple arrow).

I figured that this can happen if we have bound text and modify the bounding box in certain ways.

Obviously there is a piece of information missing from the property tree as visible in the interface:

1. The width and height of the bounding box - those can be read with the scriping api as the TextDocument's boxTextSize attribute and
2. the position of the bounding box in relation to the anchor - where that is I don't know, but as you can see in the screenshot, there is no apparent relationship between the two.

So where do I get that second bit of information via scripting?

In other words: How do I get where the text actually appears?

Any help would be greatly appreciated.

Thanks in advance, Jens

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2016 All Rights Reserved