Layer Marker Batch Editor Demo Video This script has a dockable UI, click for an installation video tutorial

Batch edit all layer marker attributes on selected layers. Also has an option to export the marker to a text file.

"Name Your Own Price"
You can pay anything you want, the amount displayed in the cart is only a suggested amount.
View Cart

Layer Marker Batch Editor This is a new version of this script Compatible with After Effects CS3Compatible with After Effects CS4Compatible with After Effects CS5Compatible with After Effects CS5.5

Version: 1.1   Sign up to be notified by email when a new version is posted

This script will allow you to batch edit all the layer marker attributes on all the selected layers. You can also delete and time-shift markers. The script works within the comp work area so you can use the work area to define which markers you want to work with.

New: Now you can export the markers to a text file formatted any way you choose.

New Export to File Demo


 

Demo

The script has some special commands that can be inserted into any text field:

[savecomment] – will insert any text that was already existing in that text field
[layername] – will insert the layer name
[layerindex] – will insert the layer index
[compname] – will insert the comp name
[projectname] – will insert the project name
[markernumber] – will insert the marker number
[time] – will insert the time in the current format of the comp (ie. if the comp is displaying frames it will insert frames, if it’s displaying timecode it will insert timecode)
[date:E MMM dd, yyyy hh:mm a] – will insert the current date and time, this field uses the JavascriptToolbox.com date function which can be further customized. Please refer to their documentation for further reference: Date Formatting

Version History

  • 1.1 Added export to file option – Apr 2010
  • 1.01 Fixed Untitled Project bug – May 2010
  • 1.0 – Initial release – April 2010

Last updated May 1st, 2012
4,235 views
Tags: , , , , , , ,

Share      

About the author

I am a freelance art director and After Effects artist in New York City. I aim to provide high quality scripts that provide clever solutions for After Effects workflows.

Pingbacks

4 Comments

  • Hi great thing your batch editor.
    I would like to make a feature request.
    Shifting markers to another “Framerate”.
    Just today i had this problem and already made a script that does that.
    Maybee it is part of a coming version of your editor. Would make me proud :)
    /**
    * a script for adjusting markers to a "new Framerate"
    * say you made markers by thinking it is 25 fps but it is 12 fps
    * it calcs the new position of the markers and adds them to a another layer
    *
    * works like this:
    * select first your source layer with all your markers
    * then select your target layer
    * run the script
    * it copys only the comment ot the new layer
    *
    * written by fabiantheblind
    * http://www.the-moron.net
    */
    function adjustMarkers(){
    var sourceLayer = app.project.activeItem.selectedLayers[0];
    var targetLayer = app.project.activeItem.selectedLayers[1];
    var sourceFrameRate = 25;
    var targetFrameRate = 12;
    app.beginUndoGroup("adjustMarkersToNewFramerate");
    {
    //markerIndex is the index of the marker to get the frame for
    //markerTime is the time (in seconds) of the marker
    //nullLayerRef is the null layer that the marker lives on
    for(var markerIndex = 1; markerIndex <= sourceLayer.property("marker").numKeys; markerIndex++){
    //Get the time (in seconds) of the marker.
    var markerTime = sourceLayer.marker.keyTime(markerIndex);
    //Value to add to the markerTime
    var timeFudge = 1/1000;
    //Convert the markerTime value to frames from seconds
    var markerFrameOld = timeToCurrentFormat(markerTime + timeFudge, sourceLayer.containingComp.frameRate, true);
    var markerFrameNew = currentFormatToTime((markerFrameOld/sourceFrameRate)*targetFrameRate , targetFrameRate );
    var commentOfMarker = sourceLayer.property("Marker").keyValue(markerIndex).comment;
    var commentBuffer = new MarkerValue(commentOfMarker);
    targetLayer.property("Marker").setValueAtTime(markerFrameNew, commentBuffer);
    }
    }
    app.endUndoGroup();
    }
    adjustMarkers();

Leave a comment

(to reply to a specific comment use the "Reply to this comment" link next to the author's name)

For support related issues please contact support or post your issue in the forums