I've been playing with Action Manager recently

I can't figure out where to get the 'timeline' object to inspect it. I inspected the whole application class but haven't found anything related to the timeline. Am I missing something? I found on Adobe forum the list of timeline properties so now I can use them.
But I really wanted to know how to dig them up from the beginning.

Code: Select all
// time
// currentFrame
// documentTimelineSettings
// duration
// enabled
// frameCount
// frameRate
// hasMotion
// workInTime
// workOutTime
var r = new ActionReference();
r.putProperty(charIDToTypeID('Prpr'), s2t('enabled'));
r.putClass(s2t('timeline'));
var ret = executeActionGet(r);
I've tried the code below to no avail.
Code: Select all
// ERROR CODE
var r = new ActionReference();
r.putClass(s2t('timeline'));
var ret = executeActionGet(r);