Answered
PPro Panel - "Detect cuts in active sequence" not working
Nothing happens when you click on the button "Detect cuts in active sequence" - No UpdateEventPanel update either. Is this functionality broken?
Nothing happens when you click on the button "Detect cuts in active sequence" - No UpdateEventPanel update either. Is this functionality broken?
Just a typo. 🙂 This works:
var activeSeq = app.project.activeSequence;
if (activeSeq) {
var sel = activeSeq.getSelection();
if (sel[0]) {
var action = 'ApplyCuts'; //'ApplyCuts', 'CreateMarkers'
var shouldApplyCutsToLinkedAudio = true;
var sensitivity = 'LowSensitivity'; //'LowSensitivity', 'MediumSensitivity', 'HighSensitivity'
var result = activeSeq.performSceneEditDetectionOnSelection(action, shouldApplyCutsToLinkedAudio, sensitivity);
} else {
alert("performSceneEditDetectionOnSelection: Nothing selected, in sequence.");
}
} else {
alert("performSceneEditDetectionOnSelection: No active sequence.");
}Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.