1. Our facility wishes to start all frame ranges at 1001.
2. I have a precomposing script that goes down and precomposes each shot. It also sets (or tries to set) the start frame of these children comps to 1001.
3. I have used:
Code: Select all
var oneThousandOneToSec = 1001 * activeItem.frameDuration;
Here's the problem, let's say I set the comp manually to start at 1001, this value as returned by .displayStartFrame is 41.7083750417084... which is to say 1000 * activeItem.frameDuration.
So now I write:
Code: Select all
activeItem = app.project.activeItem;
activeItem.displayStartTime = 1000 * activeItem.frameDuration
however now the comp starts at 1000 not 1001?
Ok, so lets all 1 frame duration to the displayStartTime, that should make it 1001? Or how about multiplying 1001 * activeItem.frameDuration.... both of these result in comps that start at 1002!!
This is just the tip of the iceberg in weirdness here and will discuss further if anyone is curious are has some insight.
Final thing, I can get it to start at 1001 by taking:
Code: Select all
(1001 * activeItem.frameDuration).toFixed (2)
Please. Someone. Before I pull out all of my hair.