Skip to main content
SPfoto
Known Participant
January 5, 2024
Answered

CC Composite new and obsolete versions problem when scripting

  • January 5, 2024
  • 1 reply
  • 1192 views

Hello,

I'm writing simple script for AE and I want to add CC Composite effect to some layer.

It looks like:

highLayer.property("Effects").addProperty("CC Composite");

After apply this script to my layer I see that CC Composite effect is obsolete version.

But if I apply CC Composite in AE when working sure I get new CC Composite version.

That's strange cause for old version I see name "CC Composite (obsolete)", but script thinks that this obsolete version is that I need.

So how to apply right new CC Composite version when scripting?

This topic has been closed for replies.
Correct answer Dan Ebberts

I think you'll be OK if you use the match name for the new version:

highLayer.property("Effects").addProperty("CS Composite");

1 reply

Dan Ebberts
Community Expert
Dan EbbertsCommunity ExpertCorrect answer
Community Expert
January 5, 2024

I think you'll be OK if you use the match name for the new version:

highLayer.property("Effects").addProperty("CS Composite");
SPfoto
SPfotoAuthor
Known Participant
January 6, 2024

That's right, thank you!