Created
September 8, 2014 02:32
-
-
Save monsieuroeuf/8c39d2f74248a321f6b5 to your computer and use it in GitHub Desktop.
Premiere Pro: lists all the markers' times in seconds, for the active sequence.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#target premierepro-8.0 | |
// 2014-09-08 Ian Haigh (ianhaigh.com) | |
// Simply lists all the markers' times in seconds, for the active sequence. | |
m = app.project.activeSequence.markers; | |
var first = m.getFirstMarker(); | |
var current = first; | |
var times = []; | |
for (var c=0; c < m.numMarkers; c++) { | |
times.push(current.start.seconds); | |
current = m.getNextMarker(current); | |
} | |
$.writeln(times); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment