Skip to main content
Inspiring
April 22, 2021
Answered

layer.name is not working in AE CC2021

  • April 22, 2021
  • 1 reply
  • 240 views

Hey there!

Try to move some of my scripts to the CEP but the simplest things won't work.

 

Why is that not working anymore?

 

var activeComp = app.project.activeItem;
var workLayer = activeComp.selectedLayers[0];
workLayer.name="Hans";

 

Thanks for help!

Michael

    This topic has been closed for replies.
    Correct answer Der Kraft

    Found it:

    After a fresh Installation the CompWindow showed the SourceName and not theLayerName.

    Solved! 😉 

    1 reply

    Der KraftAuthorCorrect answer
    Inspiring
    April 22, 2021

    Found it:

    After a fresh Installation the CompWindow showed the SourceName and not theLayerName.

    Solved! 😉