ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

ExtendScript - Current Time Indicator Value?

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
James Ronan
ExtendScript - Current Time Indicator Value?
on May 5, 2016 at 7:26:36 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


Return to posts index

Walter Soyka
Re: ExtendScript - Current Time Indicator Value?
on May 5, 2016 at 8:57:13 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 [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]


Return to posts index

James Ronan
Re: ExtendScript - Current Time Indicator Value?
on May 6, 2016 at 7:09:52 pm

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


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]