Try this
var myComp = app.project.item(1); //active comp
var myFile = app.project.importFileWithDialog(); //import illustrator file
var myLayer = myComp.layers.add(myFile[0]); //add to active comp as new layer
myLayer.selected = true;
I just need to access to the time property of every marker via scripting. I know how to do it in expressions but I can’t find anything about it on the scripting guide…
I’m asking becouse I did that and did not work. I know you can see metadata from a footage but I dont know if there’s a way to insert metadata of that kind in a composition via dymanic link. If there is and someone knows it, please let me know!