Premiere Pro 15 scripting question

New Here ,
Mar 11, 2021 Mar 11, 2021

Copy link to clipboard

Copied

I want to creat a script that will run premiere with a specific projec file, exectute an extend script, then close premiere.

Is that possible?

 

TOPICS
Export, How to, Import, SDK

Views

85

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Adobe Community Professional , Mar 12, 2021 Mar 12, 2021
There's a little-known way to pass command line arguments into Premiere to run a script, but it's very limited and will only work in some cases, see more info here: https://community.adobe.com/t5/premiere-pro/ppro-cc-2019-execute-extendscript-through-command-line/td-p/10569665?page=1   Your other option is more complex, basically write a standalone app and a headless CEP Extension panel set to auto start. Have the Standalone app launch Premiere and establish a WebSocket connection with the headl...

Likes

translate

Translate

Translate
Adobe Community Professional ,
Mar 12, 2021 Mar 12, 2021

Copy link to clipboard

Copied

There's a little-known way to pass command line arguments into Premiere to run a script, but it's very limited and will only work in some cases, see more info here:

https://community.adobe.com/t5/premiere-pro/ppro-cc-2019-execute-extendscript-through-command-line/t...

 

Your other option is more complex, basically write a standalone app and a headless CEP Extension panel set to auto start. Have the Standalone app launch Premiere and establish a WebSocket connection with the headless auto-start CEP panel. The CEP panel can then send ExtendScript commands to modify and save the file, and then close the app.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Mar 15, 2021 Mar 15, 2021

Copy link to clipboard

Copied

Justin is correct; while it's possible to invoke ExtendScripts from a command line, that process is unsupported and not at all recommended. CEP panels are the right approach.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines