I’m trying to open a sequence by GUID — specifically to support a roundtrip where I pass the GUID string to a webview, then bring it back on the UXP side and reconstruct it with fromString(guidString).
This works fine:
export const openSequences = async () => {
const project = await premierepro.Project.getActiveProject();
const sequences = await project.getSequences();
for (const seq of sequences) {
await project.openSequence(seq);
}
};
But this doesn’t work:
export const openSequences = async () => {
const project = await premierepro.Project.getActiveProject();
const sequences = await project.getSequences();
for (const seq of sequences) {
const fetched = project.getSequence(seq.guid);
await project.openSequence(fetched);
}
};
What’s the correct way to use getSequence(guid) so I can reconstruct and open a sequence from a GUID string passed back from the webview?