Assuming it's layer 1, which already has 2 existing markers, you could do it like this:
var markerVal = new MarkerValue("hello");
app.project.activeItem.layer(1).property("Marker").setValueAtKey(2, markerVal);
Dan
Assuming it's layer 1, which already has 2 existing markers, you could do it like this:
var markerVal = new MarkerValue("hello");
app.project.activeItem.layer(1).property("Marker").setValueAtKey(2, markerVal);
Dan