How to Retrieve Sequence IDs from an Unopened .prproj File in CEP Panel ?
Hi everyone,
I’m developing a CEP extension for Premiere Pro 2022. The workflow of the extension is roughly as follows:
-
I prepare several .prproj files (each containing sequences with certain effects) and store them in a presets directory.
-
My CEP panel allows users to freely import any of these preset .prproj files, and the extension will insert the chosen sequence into the current project as an adjustment-layer.
-
I’m using the importSequences() API.
According to the Adobe sample:
https://github.com/Adobe-CEP/Samples/blob/ef77e70b0fb813c8db5b32159b98ed7fdd15c541/PProPanel/jsx/PPRO/Premiere.jsx#L287
importSequences() requires:
-
the path to the .prproj file
-
an array of sequence IDs to import
The issue is that I cannot find any way—via API documentation or previous forum discussions—to enumerate the sequences inside a .prproj file that is not currently opened, nor to obtain their sequence IDs.
Official API reference:
https://ppro-scripting.docsforadobe.dev/
My question:
Is there any API or workaround that allows ExtendScript or CEP to:
-
read the contents of an unopened .prproj file?
-
list the sequences inside it?
-
retrieve their sequence IDs?
From what I’ve seen, Premiere’s ExtendScript API only exposes the contents of the currently opened project, not external .prproj files. Before concluding that this is impossible, I wanted to ask whether anyone knows of any method—official or unofficial (XML parsing, indirect techniques, version quirks, etc.)—to retrieve sequence IDs from unopened project files.
Any insights or suggestions would be greatly appreciated.
Happy to provide additional details if necessary.
