Copy link to clipboard
Copied
Hello! I want to move the playhead to a new timecode. This works with this function, but everytime it updates the position a dialog box pops up telling me the new time. Is there a way to turn off this dialog box? Its extremly annoying.
 My code to update the playhead position:
function movePlayhead (tc) {
var activeSeq = app.project.activeSequence;
time = new Time();
fps = (100 / activeSeq.getSettings().videoFrameRate.seconds / 100)
time.seconds = (convertTimeCodeToSeconds(tc, fps))
activeSeq.setPlayerPosition(time.ticks)
}
And im an even bigger idiot. it was an "alert()" i overlooked.
Copy link to clipboard
Copied
Alright, Im an idiot.
For anyone that gets the same problem: Its not the "setPlayerPosition()" funtion but the "time.seconds = ..." declaration.
Copy link to clipboard
Copied
And im an even bigger idiot. it was an "alert()" i overlooked.