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

Automation Blocks - Adding Effect Preset

Participant ,
Feb 24, 2025 Feb 24, 2025

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

TOPICS
SDK
194
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

Community Expert , Feb 25, 2025 Feb 25, 2025

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 

Translate
Community Expert ,
Feb 24, 2025 Feb 24, 2025

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/...

 

 

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
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
Participant ,
Feb 24, 2025 Feb 24, 2025

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
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 Expert ,
Feb 25, 2025 Feb 25, 2025

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
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
Participant ,
Feb 25, 2025 Feb 25, 2025
LATEST

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

Thank you! Accomplished what I set out to.

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