Need help with finding .ffx files for basic Effects and Presets.
  • I'm making a custom script for work and I've hit a roadblock. I'm attempting to add a simple Tint effect to a layer but can't seem to find out how to get that done. I noticed that for the basic Effects and Presets there are .aex files, but no .ffx files (that I can find). So when trying to call the .aex file using applyPreset I get some errors. This is my code currently.

    var theComp = app.project.activeItem;
    var theLayer = theComp.selectedLayers[0];
    var reName =;
    var folder = "Fat Luck Here";
    var ffxTint = "Tint.ffx";
    var presetfilepath = folder + ffxTint;
    var pfile = File(presetfilepath);

    openffxFile ();

    function dupe(){ 
    for (i = 1; i <= 2; i++){
        var dupeLayer = theLayer.duplicate();
         if (i == 1){
   = + "_TINT";
            } else if (i == 2){
           = + "_LUMA";
                    dupeLayer.trackMatteType = TrackMatteType.LUMA;

    function openffxFile(){
                if(pfile.exists !== true){
                alert("Preset file does not exist");

This discussion has been closed.
All Discussions