Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects ExtendScript – Current Time Indicator Value?

  • ExtendScript – Current Time Indicator Value?

    Posted by James Ronan on May 5, 2016 at 7:26 pm

    Hello team!

    I’m simply trying get the value of of the Current Time Indicator for a script I’m working on.

    I’ve had a look though the scripting guide, but have not come across anything that screams ‘Current Time Indicator value’.

    Would it be anything to do with:

    timeToCurrentFormat()
    currentFormatToTime()

    Any help much appreciated.

    James

    James Ronan replied 10 years ago 2 Members · 2 Replies
  • 2 Replies
  • Walter Soyka

    May 5, 2016 at 8:57 pm

    The CTI is just the time attribute of any comp. For example,

    alert(app.project.activeItem.time);

    will open a dialog box and tell you the current time of the active comp.

    Walter Soyka
    Designer & Mad Scientist at Keen Live [link]
    Motion Graphics, Widescreen Events, Presentation Design, and Consulting
    @keenlive   |   RenderBreak [blog]   |   Profile [LinkedIn]

  • James Ronan

    May 6, 2016 at 7:09 pm

    Ah Thank you! So simple! This has helped greatly.
    Thank you again!

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