Getting/setting Mark In/Mark Out points in project item opened in source monitor
Pinging @Bruce Bullis because I'm pretty sure you're the man I want 😉
Like the title says, I would like to programatically "Mark In" and "Mark Out" (keyboard shortcuts I and O) in a project item opened in source monitor. I find the correct project item to open in source monitor by comparing the file path like so:
if (projItem.name.toLowerCase() === videoFileName.toLowerCase()) {
app.sourceMonitor.openProjectItem(projItem)
}
And would now like to also set the in and out points by given timestamps. I see that it's possible for a sequence, in e.g. the `exportCurrentFrameAsPNG` function in the PProPanel project:
var seq = app.project.activeSequence;
..
seq.setInPoint(currentTime.seconds);
Is there any way to use Markers perhaps? I'm already setting markers to a project item which are shown as expected when opening the video in source monitor.
Thankful for any guidance!
