Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

how do I apply a pseudo effect to a layer from a script?

Community Beginner ,
Jan 19, 2017 Jan 19, 2017

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?

TOPICS
Scripting
4.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Advocate , Jan 20, 2017 Jan 20, 2017

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.

Translate
Advocate ,
Jan 20, 2017 Jan 20, 2017

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 21, 2017 Jan 21, 2017

the fancy way is exactly what i needed thanks so much. one last question how do you convert the ffx file to binary. when i open it in a text editor it gives me weird symbols and isnt legible.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jan 22, 2017 Jan 22, 2017

I've posted a script here that will help you to convert ffx to binary.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 23, 2021 Apr 23, 2021

The link is no longer available. 
Do you still have that script?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Apr 25, 2021 Apr 25, 2021

I don't know what script @Alex White had linked, but here's my version of the script that converts files into binary strings: https://bitbucket.org/rendertom/convert-to-binary

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 05, 2021 Dec 05, 2021
LATEST

Hi Tomas, 

Thanks for sharing the workaround with us. I used this and worked pretty well in AE version 21.

But I just tested on version 22. Kindly suggest if I need to modify this for newer version or is there any bug in newer version?

Thanks!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 12, 2017 Apr 12, 2017

I'm curious, will this 'fancy' method take care of the "Missing:" warning in cs6 and earlier?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Apr 26, 2021 Apr 26, 2021

The "Missing" message for a pseudoFX, for CS6 and earlier, was hardcoded to the app. The only way to prevent the "Missing" message was to first edit the PresetEffects.xml file, to point to the pseudoFX.

Very Advanced After Effects Training | Adaptive & Responsive Toolkits | Intelligent Design Assets (IDAs) | MoGraph Design System DEV
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines