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

Add Keyframes to Adjustment Layers using Api

Explorer ,
Aug 10, 2025 Aug 10, 2025

Hi folks

 

Is the above possible? I get that adjustment layers are basically stills and don't have the same properties as clips, but I can't seem to add Keyframes to properties programmatically.

Seems to be an issue with finding the timecode or frame to add the keyframes to. It seems to adjust the value of the first frame over and over but not add a Keyframe.

 

Works fine on clips.

Thanks

 

 

 

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

Adobe Employee , Aug 11, 2025 Aug 11, 2025

I can reproduce the behavior. 
We're tracking it as DVAPR-4259779, and will keep you informed of any progress. 


It's unlikely we'll be fixing any ExtendScript issues; our extensibility efforts are focused on UXP extensibility. However, we will confirm whether this behavior is present in UXP, and (should it not be) will attempt to resolve the issue, there.

Translate
LEGEND ,
Aug 10, 2025 Aug 10, 2025

You're right that AL's are clips ... or 'media'.

 

They are simply a 'holder' for effects.

 

So you can keyframe effects in an AL, when on a timeline, but you can't add keyframes to an AL itself.

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
Explorer ,
Aug 10, 2025 Aug 10, 2025

Thanks for your reply.

Just to confirm, I've added the AL to the timeline and I want to add keyframes either to one of the built in properties, eg scale, position, or to an effects property eg the transform effect.

 

I can adjust the values using ComponentParam.setValueAtKey(), but ComponentParam.addKey() doesn't work, and setValueAtKey() seems to just affect the first frame. I suspect it's because ComponentParam.setValueAtKey() takes a Time parameter, and the AL doesn't have the same time properties as clips.
Does that make sense, is there anyway around it?

 

Cheers

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
Adobe Employee ,
Aug 11, 2025 Aug 11, 2025

Hi Imkindofabigdeal,

 

Can you send us a snippet of ExtendScript that demonstrates the issue? 


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
Explorer ,
Aug 11, 2025 Aug 11, 2025

I've sent you a snippet. When run on two clips in a timeline, it will read, manually added, keyframes from both clips, but the same code will only add keyframes to the media and not the AL

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
Adobe Employee ,
Aug 11, 2025 Aug 11, 2025
LATEST

I can reproduce the behavior. 
We're tracking it as DVAPR-4259779, and will keep you informed of any progress. 


It's unlikely we'll be fixing any ExtendScript issues; our extensibility efforts are focused on UXP extensibility. However, we will confirm whether this behavior is present in UXP, and (should it not be) will attempt to resolve the issue, there.

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 ,
Aug 11, 2025 Aug 11, 2025

you will have to keyframe Transform Effect values for ALs.

When it comes to coding and API related stuff, then better send 

the code to Bruce as requested.

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