Skip to main content
Inspiring
October 18, 2025
Answered

Filtering sequences for the active project, not all sequences in PR Production

  • October 18, 2025
  • 2 replies
  • 149 views

I'm using `var directSequences = app.project.sequences;` to get the sequences for the current project. However, I've noticed that if I open the project in PR Production, this method will retrieve all sequences in PR Production, not just those in the currently open project.

 

Is there any way to filter sequences for the currently open project?

 

Thank you

Correct answer Bruce Bullis

My testing doesn't match your experience. 


  • Create a new Production
  • Name first project "Project 1"
    • In Project 1, create "Sequence 1"
  • Create a new project; "Project 2"
    • In Project 2, create "Sequence 2", "Sequence 3", and "Sequence 4".
  • In PPro's UI, make "Project 1" active.
  • Run the following ExtendScript:
    var howManySequences = app.project.sequences.length;​
  • Result = howManySequences = 1, despite the fact that there are 3 more sequences available in another open Project, within the same Production.

2 replies

Bruce Bullis
Community Manager
Bruce BullisCommunity ManagerCorrect answer
Community Manager
October 18, 2025

My testing doesn't match your experience. 


  • Create a new Production
  • Name first project "Project 1"
    • In Project 1, create "Sequence 1"
  • Create a new project; "Project 2"
    • In Project 2, create "Sequence 2", "Sequence 3", and "Sequence 4".
  • In PPro's UI, make "Project 1" active.
  • Run the following ExtendScript:
    var howManySequences = app.project.sequences.length;​
  • Result = howManySequences = 1, despite the fact that there are 3 more sequences available in another open Project, within the same Production.
june1632Author
Inspiring
October 30, 2025

Thank you for your reply.

 

I discovered that these sequences weren't due to production mode, but rather because some clips were created using multi-camera sequences. After refactoring the project, only the final edit sequences were retained, and these multi-camera sequences weren't included in the current project. However, when filtering sequences using a script, these hidden sequences not currently in the project are automatically found.

 

So the question becomes: how can I filter the sequences in the current project, without related sequences?

 

 

june1632Author
Inspiring
October 18, 2025

my env is on mac, PPRO version 25.5.0 b13