I'm trying to write a script that reads out the properties of all markers of a given layer. It works well as far as marker comment and duration is concerned, but I can't figure out how to read a marker's starting time: --- var myLayer = app.project.item(2).layer(1); var myMarkers = myLayer.property("Marker"); var n = myMarkers.numKeys; for(var i = 1; i <= n; i++) { var myMarker = myMarkers.keyValue(i); var myComm = myMarker.comment; var myTime = myMarker.time; var myDur = myMarker.duration; alert (myTime + " " + myDur + " " + myComm); } --- A marker's time doesn't show up in the AE scripting guide, and the above try returns "undefined"... Any ideas?
↧