Jump to specific time in Timeline (javascript)

I know, this must have been asked before - only, I can´t find an answer…

I want to jump to a specific time in an timeline via javascript. Let´s say 00:02,07. Means: goto second 2 + 7 frames - right? Now I can´t say something like:

hypeDocument.goToTimeInTimelineNamed(0:02,07, 'graph');

but

hypeDocument.goToTimeInTimelineNamed(2.24, 'graph');

I got the 2.24 more or less by trial and error but what´s the rule behind it?

Thanks in advance, Kalle

30 Frames equals 1 second …

there’s been some efford on this in the extensionsection … if i remember it right :slight_smile:

Yes, I know. about the frames and second relation… Ok, would be 7/30 -> 0,233333

:wink:

The function has multiple "interface" like string, object and number. You can leave them all in there or delete the ones you'll never use from the help function.

Ok, always ask Dr. Zieb… :smiley: Anyway, works for me by just calculating… :wink:

Yes, it’s only a helper that does a string to number calculation (and other interfaces). All boils down to the same formula in the end:

minutes*60 + seconds + frames/30

:nerd_face: