It's quite common for us to manually set ActiveTake to None, in order to temporarily prevent Vegas from loading the file (in case of dodgy video codecs, for example). We want to script this, rather than right-clicking and traversing the context menu.
I did some quick debugging, and noticed that Event.ActiveTake is actually set to null in these cases. I cannot, however, set it to null through code, since it raises an exception ("value cannot be null").
How would one go about doing this?
I did some quick debugging, and noticed that Event.ActiveTake is actually set to null in these cases. I cannot, however, set it to null through code, since it raises an exception ("value cannot be null").
How would one go about doing this?