We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.
I'm working on a CEP panel for Premiere Pro. I'd like to display there a current frame of the timeline as seen in the "Program" panel. How can I retrieve that with ExtendScript?
I want some code samples, but there are no code samples and how can I export a .png of the program monitor's contents in CEP Panel?
Please help me!
Copy link to clipboard
I tried the function exportCurrentFrameAsPNG() from GitHub. But it only exporting the first frame of the sequence. I tried to change the time parameter. But nothing works
Where is you playhead when you launch that function? In example above it will use playhead position (CTI) as a time parameter.
I changed the play head position to different positions. And then executed the function. But still not working.
In what way does it not work?
Ivan's guidance is good, and the referenced function works here.
The exportCurrentFrameAsPNG() works. But it capturing only first frame of the sequence. Even I changed the play head position.
After a little bit of research, i found a method grabCurrentFrame() in csInterface.evalScript() works. It returns correct timeline frame.
But I don't know how to use the grabCurrentFrame() function and which paramaters should I pass through the function. Can anyone help me? It would be appreciated if you can give me some samble codes of grabCurrentFrame() function.
Can you elaborate on grabCurrentFrame()? I'm trying to do something similar but running into some trouble. Hoping to send a frame still through a webhook but I need to capture the frame!
Where are you seeing grabCurrentFrame()?
Fixed; thanks, Russell (and Ivan)!