how do I apply a pseudo effect to a layer from a script?
Hey guys I have seen a few scripts that apply custom pseudo effects on layers. can anyone help me as to how that was done?
Hey guys I have seen a few scripts that apply custom pseudo effects on layers. can anyone help me as to how that was done?
Hi buddy. It's rather easy.
1. Apply Pseudo Effect to a layer.
2.Select this effect in timeline (make sure no other properties are selected) and save Animation Preset by going Animation -> Save Animation Preset.
3. In JavaScript script, select a layer you want to apply Pseudo Effect on and do
layer.applyPreset(File("pathToFFXfile"))
If you want to be more fancy about it, take a look at this snippet Apply Pseudo Effect as Animation Preset — Bitbucket
Hope that helps.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.