ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Updating the comment on a marker via extendscript?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
James Ronan
Updating the comment on a marker via extendscript?
on Jul 3, 2017 at 11:41:14 am

Hey all!

Is there a way to update a comment on a marker via extendscript?

I've tried:

var compTo = app.project.activeItem;
compTo.markerProperty.keyValue(1).comment.setValue = "New Comment";

But so far nothing is working...

Any help appreciated!

James


Return to posts index

Dan Ebberts
Re: Updating the comment on a marker via extendscript?
on Jul 3, 2017 at 1:04:30 pm

Try it this way:

var compTo = app.project.activeItem;
var markerVal = compTo.markerProperty.keyValue(1);
markerVal.comment = "New Comment";
compTo.markerProperty.setValueAtKey(1,markerVal);


Dan



Return to posts index

James Ronan
Re: Updating the comment on a marker via extendscript?
on Jul 3, 2017 at 2:17:29 pm

Ah I see how it works now. Perfect!

Thanks a lot, Dan!!


Return to posts index

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