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

keyValue() return wrong value

Engaged ,
Mar 01, 2024 Mar 01, 2024

Copy link to clipboard

Copied

When you move a layer on the timeline, keyValue() may return an undesired value.

tested with AE 2024 and Beta.

 

var proj = app.project;
var thisComp = proj.activeItem;
var selectedLayers = thisComp.selectedLayers;
for (var i = 0; i < selectedLayers.length; i++) {
  for (var k = 1; k <= selectedLayers[i].text.sourceText.numKeys; k++) {
    alert(selectedLayers[i].text.sourceText.keyValue(k))
  }
}

 

Bug Investigating
TOPICS
Scripting

Views

204

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 Pinned Reply

Adobe Employee , Mar 04, 2024 Mar 04, 2024

Hi @Airweb_AE,

Thank you for reporting this issue. It appears to be new to 24.2. We now have a ticket open and will be investigating a fix for a future version of After Effects.

 

Thanks again,

- John, After Effects Engineering Team 

Status Investigating

Votes

Translate

Translate
3 Comments
Community Expert ,
Mar 02, 2024 Mar 02, 2024

Copy link to clipboard

Copied

I can confirm that behavior. Does seem to be a bug.

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Mar 04, 2024 Mar 04, 2024

Copy link to clipboard

Copied

Hi @Airweb_AE,

Thank you for reporting this issue. It appears to be new to 24.2. We now have a ticket open and will be investigating a fix for a future version of After Effects.

 

Thanks again,

- John, After Effects Engineering Team 

Status Investigating

Votes

Translate

Translate

Report

Report
Community Beginner ,
Mar 12, 2024 Mar 12, 2024

Copy link to clipboard

Copied

LATEST

Votes

Translate

Translate

Report

Report