A basic example. A comp, with one layer, with one marker. The alert returns the correct value of the marker, but if you look at the marker on the timeline or double click it, the duration doesn't actually change.
Code: Select all
var myComp = app.project.activeItem;
var marker = myComp.layer(1).Marker.keyValue(1);
marker.duration = 20;