Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Scripting access to hidden text box information

  • Scripting access to hidden text box information

    Posted by Jens Theisen on May 11, 2014 at 12:37 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

    Jens Theisen replied 12 years, 3 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy