Apply preset and strange result
Posted: February 19th, 2012, 3:31 pm
I'm probably missing something obvious here but if I run the attached code without a layer selected, a new solid is created and the preset is applied to that layer. If I select the first layer it works as expected.
Code: Select all
var path = "D:/vfx_tools/aftereffects_tools/animation_presets/jpegEdgeFix.ffx"
var myLayer = app.project.item(1).layer(1);
var preset = new File (path)
var addPreset = myLayer.applyPreset(preset);