Skip to main content
Inspiring
July 24, 2023
Answered

script prpro How to use QE DOM Razor Tool from activeSequnce to Sequence[index]

  • July 24, 2023
  • 2 replies
  • 823 views
code
app.enableQE();
qe.project.getActiveSequence().getVideoTrackAt(0).razor(timecode)
 
i am using app.project.sequences[index].
I have a getActiveSequence  and how to convert to use sequences[index] 

 

This topic has been closed for replies.
Correct answer Bruce Bullis

The QE DOM is not supported, and not recommended. 


2 replies

Inspiring
December 21, 2023
// Enable the QE DOM
app.enableQE();

// Get the project object
var myProject = qe.project;

// Define the name of the sequence you want to get
var seqName = "Name Of Your Sequence";

// Loop through all the sequences in the project
for (var i = 0; i < myProject.numSequences; i++) {
  // Get the sequence at the current index
  var seq = myProject.getSequenceAt(i);

  // Check if the sequence name matches the desired name
  if (seq.name === seqName) {
    // Do something with the sequence
    alert("The sequence name is " + seq.name);
    break;
  }
}
Bruce Bullis
Bruce BullisCorrect answer
Legend
July 24, 2023

The QE DOM is not supported, and not recommended. 


Inspiring
July 24, 2023

Please help for this one only. I am struck in project using razor tool. Please help.