Skip to main content
Bed30321077z973
Inspiring
Feb 7, 2024 9:57 AM UTC
Answered

How to run an extendscript with a bat file?

 

 

Hello,

Is there a way to use a "bat file" or something like that, in Windows (or any other OS, we can adapt afterwards), or any languege, to order an  ExtendScript to run, without having to click or do anything (such as run-> startdebugging-> software, or an html button), just opening the bat file or running (another) code?

 

That could be very helpful please.

Bruce Bullis
Bruce BullisCorrect answer
Legend
Feb 3, 2025 4:39 PM UTC

> Panels will always include manual interactions correct?


Not correct. Panels can force themselves active at PPro launch.

> How can I do it please?

If you feel you must use an unsupported and not-at-all recommended method to invoke scripts [please don't], here is how. 


"C:\Program Files\Adobe\Adobe Premiere Pro 2020\Adobe Premiere Pro.exe" /C es.processFile C:\Users\bbb\Desktop\test.jsx
 
/Applications/Adobe\ Premiere\ Pro\ \(Beta\)/Adobe\ Premiere\ Pro\ \(Beta\).app/Contents/MacOS/Adobe\ Premiere\ Pro\ \(Beta\) /C es.processFile /Users/bbb/Desktop/test.jsx

 

4 replies

Bruce Bullis
Legend
Feb 7, 2024 1:23 PM UTC

It is possible, but not recommended, to invoke ExtendScript in PPro, via command line. 

Panels are the recommended approach to invoking ExtendScript in PPro.

Translate
Bed30321077z973
Inspiring
Feb 3, 2025 5:11 AM UTC

Hello, can't believe this is actually almost ONE YEAR AGO, should I make a new post or we can continue here?

 

Back to topic: Panels will always include manual interactions correct?

 

I wanted the .bat approach because I want to reduce manual interactions.

 

quote

It is possible, but not recommended, to invoke ExtendScript in PPro, via command line. 


By @Bruce Bullis



How can I do it please?

 

Thanks

Translate
Bruce Bullis
Bruce BullisCorrect answer
Legend
Feb 3, 2025 4:39 PM UTC

> Panels will always include manual interactions correct?


Not correct. Panels can force themselves active at PPro launch.

> How can I do it please?

If you feel you must use an unsupported and not-at-all recommended method to invoke scripts [please don't], here is how. 


"C:\Program Files\Adobe\Adobe Premiere Pro 2020\Adobe Premiere Pro.exe" /C es.processFile C:\Users\bbb\Desktop\test.jsx
 
/Applications/Adobe\ Premiere\ Pro\ \(Beta\)/Adobe\ Premiere\ Pro\ \(Beta\).app/Contents/MacOS/Adobe\ Premiere\ Pro\ \(Beta\) /C es.processFile /Users/bbb/Desktop/test.jsx

 

Translate