How to get current preview time with ExtendScript
Hi.
How to get current preview time with ExtendScript.
I want to get the current time of the preview like the expression "time," not time of the Current Time Indicator.
Thank you.
Hi.
How to get current preview time with ExtendScript.
I want to get the current time of the preview like the expression "time," not time of the Current Time Indicator.
Thank you.
An expression is evaluated at every frame and each time the expression is evaluated, the variable time gives you this point in time. There is no such thing for scripts, since they are not evaluated at each frame, but only once, when you execute them.
If you want to execute a script while a preview is playing, there is no way to know which frame is playing while the script is running (and if it is a long running script I am not even sure if playback pauses or not).
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.