Script to Change Active Composition Duration
This should be really simple, but I can't seem to get it right. I need a script that takes the active composition and changes duration to be EXACTLY 4 seconds long. I'm using a 59.94 fps timecode that is non-drop frame. So whenever this script is run, the only thing it should do is change the active composition so that it starts at 0:00:00:00 (hours, minutes, seconds, frames) and ends at 0:03:59:59. I tried to use the "duration" in my script, but when I set it equal to 240 (60 seconds * 4), my composition ended up at 0:03:59:45 for some reason. My frames were messed up. Can somebody please show me a script that allows will do exactly what I have in bold above?
