Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity › Forums › Adobe After Effects › A way to NAME MARKERS with numbers 1 to how ever many?

  • A way to NAME MARKERS with numbers 1 to how ever many?

    Posted by Curtis Tyrell-wood on June 17, 2020 at 11:40 pm

    I would like to number my markers from 1 to how ever many markers I have.

    lets says I have 50 markers on a comp I would like to numbers them from 1-50 in the order from first to last (left- right)/1-50.

    Can anybody help?

    Thanks in advance!

    Filip Vandueren replied 6 years, 3 months ago 2 Members · 1 Reply
  • 1 Reply
  • Filip Vandueren

    June 21, 2020 at 12:22 pm

    You’ll need to run an extendscript like this one:


    app.beginUndoGroup("number markers");

    sl= app.project.activeItem.selectedLayers;

    for (var i=0; i<sl.length; i++) {
    var l = sl[i];
    for (var j=1; j<=l.marker.numKeys; j++) {
    myMarkerObj = new MarkerValue(j);
    l.marker.setValueAtKey(j,myMarkerObj);
    }
    }
    app.endUndoGroup();

    This will number the markers on the first currently selected layer.

    (copy this expression from the website, not your email-notification, ’cause it might not work)

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy