Skip to content

Instantly share code, notes, and snippets.

@aescripts
Last active February 14, 2023 05:34

Revisions

  1. aescripts renamed this gist Aug 13, 2018. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. aescripts created this gist Nov 27, 2017.
    11 changes: 11 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    // Applies Echo effect to selected layers with settings that work like onion Skin from Adobe Flash.

    var activeComp = app.project.activeItem;
    if(activeComp){
    var selLayers = activeComp.selectedLayers;
    for(var i = 0; i< selLayers.length; i++){
    var echoEffect = selLayers[i]("Effects").addProperty("Echo");
    echoEffect(2).setValue(9); //Adjust EchoTime
    echoEffect(4).setValue(.5); //Adjust Decay
    }
    }