enes
1
Hi i want to get all markers in a sequence.
I tried following, no luck.
Any suggestions?
const ppro = require("premierepro");
async function getAllMarkers() {
const project = await ppro.Project.getActiveProject();
const activeSequence = await project.getActiveSequence();
const markers = await activeSequence.getMarkers();
console.log(markers);
}
getAllMarkers();
How about this
const ppro = require("premierepro");
async function getAllMarkers() {
const project = await ppro.Project.getActiveProject();
const activeSequence = await project.getActiveSequence();
const markersObj = await ppro.Markers.getMarkers(activeSequence);
const markers = await markersObj.getMarkers();
console.log(markers);
}
getAllMarkers();
2 Likes