Hi All!
I try to replace one media from media pool by scripts. So I can't find a command to do that.
Some body done it?
P.S. Sorry, but my english is not wery well :). I hope you understend me.
Media objects have a ReplaceWith method which takes a replacement media object as its argument... make sure the replacement media is the same type as the original. For example:
var m1 = Vegas.Project.MediaPool["C:\\m1.avi"];
var m2 = new Media("C:\\m2.avi");
m1.ReplaceWith(m2);