Skip to main content
Inspiring
April 22, 2021
Answered

layer.name is not working in AE CC2021

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 is closed to new replies. Start a new post to keep the conversation going.
    Der KraftCorrect answer
    Inspiring
    April 22, 2021

    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! 😉 

    Translate