-
Trim Comp to Work Area
I have searched google and this forum and found the following code to trim my comp to the work area:
videoComp.workAreaDuration = 0.6;
videoComp.ramPreviewTest("",0.33,"");
videoComp.workAreaDuration = settings.compLength;
app.executeCommand(app.findMenuCommandId("Trim Comp to Work Area"));
I am using AE CS5
The problem is that I am getting an error every time I run my script. The error states:
Unable to execute script at line 103. After Effects error:RAM Preview needs 2 or more frames to playback. Line 103 is the ramPreviewTest line.
Thanks for the help.
CS5 Production Suite