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

How can i run jsx programmatically

New Here ,
Jun 22, 2025 Jun 22, 2025

Hi everyone,

 

I'm trying to run an ExtendScript (.jsx) file in Adobe Premiere Pro 2025,
but I can't find the Scripts menu that used to be under

 

Window → Utilities → Scripts in previous versions.

Or File -> Scripts

 

 

My setup:
- Adobe Premiere Pro 2025 (version 25.3.0)
- macOS Darwin 24.5.0
- Script location: /Users/[username]/Documents/Adobe/Premiere
Pro/25.0/Scripts/batch-xml-import-temp.jsx

What I've tried:
- Window menu - no Utilities submenu found
- Window → Extensions - no Scripts option
- File menu - no Scripts submenu
- Help → Search for "Scripts" - no relevant results

 

What I need:
I have a batch XML import ExtendScript that needs to be executed. 

If this is not supported anymore. What is the approach to solve this?

 

TOPICS
How to , Import , SDK
1.1K
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 3 Correct answers

Adobe Employee , Jun 22, 2025 Jun 22, 2025

Premiere Pro has never had such a menu item; I think you're thinking of After Effects. 

The recommended approach to executing ExtendScript within PPro, is from within a CEP panel; see the PProPanel sample for all relevant details. 

Did you write that batch XML import ExtendScript? If not...did the creator provide any guidance, on how they expected it to be executed?



Translate
Community Expert , Jun 22, 2025 Jun 22, 2025

If you don't want to create a full CEP panel, you can execute ExtendScript with my (paid) extension Automation Blocks.
Just create a new block script with a single "execute code" block to execute your jsx as described here:

https://docs.mamoworld.com/automation-blocks/block-reference/aeOther#executing-jsx-files

 

Translate
Community Expert , Jun 22, 2025 Jun 22, 2025

I think this Automation Blocks script is doing what you want:

Screenshot 2025-06-22 at 21.19.47.png

Block script XML is attached such that you can load it into your Automation Blocks user library.
Then just restart Automation Blocks and you find the script in your Automation Blocks library.


To use the script:

1) once the script is loaded, the inputs panel of Automation Blocks contains a folder input where you need to pick the root folder.
2) run the script

 

Translate
Adobe Employee ,
Jun 22, 2025 Jun 22, 2025

Premiere Pro has never had such a menu item; I think you're thinking of After Effects. 

The recommended approach to executing ExtendScript within PPro, is from within a CEP panel; see the PProPanel sample for all relevant details. 

Did you write that batch XML import ExtendScript? If not...did the creator provide any guidance, on how they expected it to be executed?



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 ,
Jun 22, 2025 Jun 22, 2025

Oh alright. 

 

Yeah i read about CEP and then the new UXP Extension stuff. Basically I have a folder with subfolders. In each subfolders there is a sequence of videos which needs to get on a timeline. 

 

What I wanted is a script that just builds me a timeline for each subfolder and autoloads this in Premiere. But I think its just too much effort than importing it. 

 

Tried it then with mp4 -> .xml but you run into same issues since its not possible to script that easily. Like a .sh script that can be executed. 

 

#EXAMPLE 1:

ROOT FOLDER <- chosen folder

SUB_FOLDER - timeline1

   01_.mp4

   01_.xml

   02_.mp4

SUB_FOLDER - timeline2

   01_.mp4

   …

 

# EXAMPLE 2:

ROOT_FOLDER <- chosen folder

01_video_desc.mp4

01_video_desc.xml

02_video_desc.mp4

 

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 ,
Jun 22, 2025 Jun 22, 2025

What application is creating the .xml files, in those subfolders? If they reference the media that's also in the subfolder, you will want to import only the .xml file; otherwise, you'll generate duplicate projectItems for each .mp4 file, in your PPro project.

>Tried it then with mp4 -> .xml but you run into same issues since its not possible to script that easily.

I'm missing it; what, specifically, is not possible to script easily? 

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 ,
Jun 22, 2025 Jun 22, 2025

I think this Automation Blocks script is doing what you want:

Screenshot 2025-06-22 at 21.19.47.png

Block script XML is attached such that you can load it into your Automation Blocks user library.
Then just restart Automation Blocks and you find the script in your Automation Blocks library.


To use the script:

1) once the script is loaded, the inputs panel of Automation Blocks contains a folder input where you need to pick the root folder.
2) run the script

 

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 ,
Jun 24, 2025 Jun 24, 2025

Yes it is. But I prefer to generate the code with GPT/Claude. I've seen its possible in the docs. So I will take a look.

 

PS: Your plugin is the perfect gateway for a MCP Server. Have you considered building one?

 

I've followed you on x. You can dm me if you want more infos what I mean 🙂

 

Regards

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 ,
Jun 25, 2025 Jun 25, 2025

To execute AI generated jsx code, you can use this feature of Automation Blocks:
https://docs.mamoworld.com/automation-blocks/block-reference/aeOther#executing-jsx-files
To run the jsx without Automation Blocks, you need to impllement a full CEP panel which executes the code.

I am not using X anymore, but yes, an MCP server might be part of Automation Blocks in the future 🙂

 

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 ,
Jun 26, 2025 Jun 26, 2025

Thanks for making it. I could now almost fully automate my project setup flow!

 

kevinkernx_0-1750925823170.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
Community Expert ,
Jun 26, 2025 Jun 26, 2025

Thanks for sharing! Combining Automation Blocks' user interfaces with AI-generated code is in deed a very powerful combination. See also

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 ,
Jun 26, 2025 Jun 26, 2025
LATEST

Do you have also a tip on proxies? 

 

- I plan that my prproj files are local and my originals are on my nas. 

- Currently I'm setting up a proxy preset in AMR and probably need to reuse it for each lesson prproj (Each Video lesson has its own prproj)

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 ,
Jun 22, 2025 Jun 22, 2025

If you don't want to create a full CEP panel, you can execute ExtendScript with my (paid) extension Automation Blocks.
Just create a new block script with a single "execute code" block to execute your jsx as described here:

https://docs.mamoworld.com/automation-blocks/block-reference/aeOther#executing-jsx-files

 

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