jeffcase
0
get current frames per second
I'm writing a script tool to create a "from/to" frame renderer that will create individual frames. I would like to get the current frames-per-second setting as a parameter for this. Is there a way to glean that info out of Cheetah?
TIA
Jeff
edit: This would be a major help in the renderTheseFrames.js I'm writing. I would like get the TotalFrameCount by multiplying doc.AnimationEnd() by the frames-per-second setting of the current doc.
The script needs to seed the buildUI() function with this info. For now, I have kludged getting this info with external utilities and some AppleScript. It works, but it's ugly and requires modifying the JS on-the-fly.
I'm writing a script tool to create a "from/to" frame renderer that will create individual frames. I would like to get the current frames-per-second setting as a parameter for this. Is there a way to glean that info out of Cheetah?
TIA
Jeff
edit: This would be a major help in the renderTheseFrames.js I'm writing. I would like get the TotalFrameCount by multiplying doc.AnimationEnd() by the frames-per-second setting of the current doc.
The script needs to seed the buildUI() function with this info. For now, I have kludged getting this info with external utilities and some AppleScript. It works, but it's ugly and requires modifying the JS on-the-fly.
Last edited: