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

layer.name is not working in AE CC2021

Explorer ,
Apr 22, 2021 Apr 22, 2021

Copy link to clipboard

Copied

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

Views

153

Translate

Translate

Report

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

Explorer , Apr 22, 2021 Apr 22, 2021

Found it:

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

Solved! 😉 

Votes

Translate

Translate
Explorer ,
Apr 22, 2021 Apr 22, 2021

Copy link to clipboard

Copied

LATEST

Found it:

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

Solved! 😉 

Votes

Translate

Translate

Report

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