set a sequence to active
Hello,
Is there a way to make a specific sequence the active one?
thanks,
Kelly
Hello,
Is there a way to make a specific sequence the active one?
thanks,
Kelly
You're trying to set the current sequence, to be a projectItem.
Make a new project; create two sequences. Make the second one you've created active, then try this.
var activeSeq = app.project.activeSequence;
if (activeSeq){
var otherSeq = app.project.sequences[0];
app.project.activeSequence = otherSeq;
// Note: changes not reflected in PPro UI or API, until ExtendScript returns to PPro.
}
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.