- May 7, 2020 at 9:48 pm
I’m working on a script to import markers from a txt-file into AE and so far it’s working great. I just can’t figure out how to get the “label” attribute (0-16) into AE to change the color of the marker. According to the scripting guide it should be possible.
Can someone shed some light on this for me?
var myMarker = new MarkerValue(marker_label);
- May 7, 2020 at 10:15 pm
I just tried this and it seems to work:
var myLayer = app.project.activeItem.layer(1);
var myMarker = new MarkerValue(“my comment”);
myMarker.label = 1; // red
- May 7, 2020 at 10:25 pm
Thank you! That worked beautifully!
Log in to reply.