H. Rüger
H. Rüger

Reputation: 25

How to toggle Premiere Pro Scripts in Adobe CEP toggle Play / Pause of the current sequence?

I'm trying to control Adobe Premiere Pro remotely by using an Adobe CEP Panel and then interacting with a server using websockets. Everything works fine, however, I cannot find any API to play / pause the current sequence.

There is one available for the SourceMonitor (https://premiere-scripting-guide.readthedocs.io/general/sourcemonitor.html#sourcemonitor-play) but I want to play the sequence.

I also would like to control the lumetri color panel and the audio mixing faders. I cannot find any APIs for those either. Is there a better approach for doing that?

My backend is a NodeJS application by the way.

Upvotes: 0

Views: 431

Answers (1)

Antoine Nivet
Antoine Nivet

Reputation: 60

You can make it by using QE DOM manipulation on the JSX side. I recommend you checking this unofficial PPro CEP doc. https://vidjuheffex.github.io/ppro.api/

There is a startPlayback() method. don't forget to call app.enableQE() before.

Your code should look like this

app.enableQE()
qe.startPlayback()

Upvotes: 2

Related Questions