Apply Adjust Color Filter by jsfl
To apply a Adjust Color filter I used to use before:
an.getDocumentDOM().addFilter('adjustColorFilter')
But now it doesn't work anymore.
I found this function that in theory assigns the effect to a layer, but it doesn't work either.
var myFilters = an.getDocumentDOM().getTimeline().layers[0].getFiltersAtFrame(0);
The blend modes now work with this code:
an.getDocumentDOM().getTimeline().layers[0].setBlendModeAtFrame(1,"Alpha");
But I don't know how to apply it to filter effects.
Any help?
