Skip to main content
Inspiring
Feb 25, 2025 4:58 AM UTC
Answered

Automation Blocks - Adding Effect Preset

Hi @Mathias Moehl !

 

I'm creating a script that involves adding an effect to a clip. I found the Execute_Code_Examples_Pr.xml block, which has nearly what I need.

 

Is there a way to modify the 'add effect to clip' block so I can add my personal Effects PRESETS? Simply using the name of the preset in the effectName variable doesn't work.

 

Cheers

Sam

Mathias Moehl
Mathias MoehlCorrect answer
Community Expert
Feb 25, 2025 12:11 PM UTC

That should be possible with the Set Clip Parameter block.

The dropdown in that block, which lists the available parameters, won't contain all attributes of all possible effects by default. But you can simply select a clip in the timeline, to which this effect is applied and click the "refresh" icon next to the dropdown. This will update the dropdown to contain all parameters of the selected clip (see Clip Param block). default 

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects

4 replies

Mathias Moehl
Community Expert
Community Expert
Feb 25, 2025 6:25 AM UTC

Hi Sam,

Bruce Bullis knows everything about the scripting engine and he says that there is no way to apply custom presets via scripting, unfortunately:
https://community.adobe.com/t5/premiere-pro-discussions/extendscript-import-effect-preset-file/td-p/10848271

 

 

Translate
Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
Inspiring
Feb 25, 2025 6:43 AM UTC

Thanks, @Mathias Moehl !

 

So, workaround - any way to write a script that changes the values of an effect on a clip?

 

In this case, I want to use the crop effect at 50% left crop.

Translate
Inspiring
Feb 25, 2025 10:46 PM UTC

That should be possible with the Set Clip Parameter block.

The dropdown in that block, which lists the available parameters, won't contain all attributes of all possible effects by default. But you can simply select a clip in the timeline, to which this effect is applied and click the "refresh" icon next to the dropdown. This will update the dropdown to contain all parameters of the selected clip (see Clip Param block). default 


That worked! I never noticed that refresh icon on that block.

Thank you! Accomplished what I set out to.

Translate