FORUMS: list search recent posts

Updating the comment on a marker using ExtendScript

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Fabrice Leconte
Updating the comment on a marker using ExtendScript
on May 7, 2020 at 2:13:52 pm

Hello,
I added some layer markers and I want to change the comment via ExtendScript.

I tried:


var textLayer = mainComp.layer("textLayer")
var nKey = textLayer.marker;
for (i = 1; nKey.numKeys; i++) {
markerVal = textLayer.markerProperty.keyValue(i);
markerVal.comment = "comment" + i;
textLayer.markerProperty.setValueAtKey(i, markerVal);
}


But so far nothing is working...

Any help appreciated!

Fabrice.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 CreativeCOW.net All Rights Reserved
[TOP]