Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

[PremierePro_2024] Run script from command line

New Here ,
Apr 29, 2024 Apr 29, 2024

Hi!

Can I Run script from command line?
I need to insert files into a sequence, i use vs code to execute jsx file and works fine, but Can I Run script from command line?

 

/C es.processFile doesn't work with 2024 Premiere Pro

 

thanx

TOPICS
SDK
2.0K
Translate
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 2 Correct answers

Adobe Employee , Apr 29, 2024 Apr 29, 2024

/C es.processFile doesn't work with 2024 Premiere Pro

I've confirmed that it does. 🙂

works.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Command line scripting can work, but it is definitely NOT a recommended workflow, for a variety of reasons. CEP panels remain the recommended and supported way to invoke ExtendScript in PPro.


Translate
Adobe Employee , Apr 29, 2024 Apr 29, 2024

"C:\Program Files\Adobe\Adobe Premiere Pro 2024\Adobe Premiere Pro.exe" /C es.processFile C:\Users\bbb\Desktop\test.jsx

win.png

Translate
Adobe Employee ,
Apr 29, 2024 Apr 29, 2024

/C es.processFile doesn't work with 2024 Premiere Pro

I've confirmed that it does. 🙂

works.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Command line scripting can work, but it is definitely NOT a recommended workflow, for a variety of reasons. CEP panels remain the recommended and supported way to invoke ExtendScript in PPro.


Translate
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
Community Expert ,
Apr 29, 2024 Apr 29, 2024

In addition to what Bruce said - if you are looking for alternative ways to execute scripts via command line:

 

In my (paid) extension Automation Blocks I implemented a listener which allows to execute Automation Blocks scripts with HTTP Get requests.These requests can be created in all kinds of ways - also from the commandline using wget or curl, for example.

Automation Blocks can also execute jsx script files, so you could use this mechanism not only for Automation Blocks tools, but also to trigger execution of other scripts.

 

If you are looking for a free alternative, which does not rely on Automation Blocks, you can also use Premiere Remote, which offers a similar mechanism to trigger jsx scripts via http requests. It is a bit more complex to configure and install than Automation Blocks, but can be customized to execute any jsx code within Pr.

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
Translate
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
New Here ,
Apr 29, 2024 Apr 29, 2024
quote

/C es.processFile doesn't work with 2024 Premiere Pro

I've confirmed that it does. 🙂

 

Command line scripting can work, but it is definitely NOT a recommended workflow, for a variety of reasons. CEP panels remain the recommended and supported way to invoke ExtendScript in PPro.



By @Bruce Bullis

 

"C:\Program Files\Adobe\Adobe Premiere Pro 2024\Adobe Premiere Pro.exe" --console es.ProcessFile "C:\Users\gmosc\GitProjects\AdobeScripting\auto_import_sequence.jsx"

 

error.png

 Error: Path not found, but path is ok

I tied also with \C flag (on palce of --console) but nothing

Translate
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 ,
Apr 29, 2024 Apr 29, 2024

"C:\Program Files\Adobe\Adobe Premiere Pro 2024\Adobe Premiere Pro.exe" /C es.processFile C:\Users\bbb\Desktop\test.jsx

win.png

Translate
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
New Here ,
Apr 29, 2024 Apr 29, 2024

It's ok now i wrote es.ProcessFile wirh P instead p , tnx so much

Translate
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
New Here ,
Sep 01, 2024 Sep 01, 2024

Why do people write script?  To automate stuff that they don't have to sit and click buttons.  I get that its not recommended, but I don't care about your opinion as much as getting it to work how it did before.  Can you not just provide an answer to the question?

 

This no longer works when it did before:

"C:\Program Files\Adobe\Adobe Premiere Pro 2023\Adobe Premiere Pro.exe" es.processFile "C:\LavedaJones\VideoList\00.3 TestWorkspace\SplitPodcast.jsx"

 

Translate
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
New Here ,
Sep 01, 2024 Sep 01, 2024

Then help out here.. sounds like your users are not getting the same results.  Explain how you got it to work instead of just providing a "write-off" answer.

Translate
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 ,
Sep 01, 2024 Sep 01, 2024
LATEST

Are you still targeting PPro 23.x, for script execution?

 "C:\Program Files\Adobe\Adobe Premiere Pro 2023\Adobe Premiere Pro.exe"

Translate
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