Script error in V7

Jessariah67 wrote on 11/10/2008, 6:56 AM
I have a Batch render using region names script that works fine in V8, but I get this error message in V7:

E:\Program Files\Sony\Vegas 7.0\Script Menu\Batch Render - Regions Only.cs(348) : 'Sony.Vegas.RenderTemplate' does not contain a definition for 'FileExtensions'

Any help on fixing this would be greatly appreciated.

Thanks.

KH

Comments

jetdv wrote on 11/10/2008, 10:36 AM
If you compare the including Batch Render program between Vegas 7 and Vegas 8, the "FillTemplateTree" routine includes the following code in Vegas 8 which is not present in Vegas 7:


// filter out templates that don't have
// exactly one file extension
String[] extensions = template.FileExtensions;
if (1 != extensions.Length) {
continue;
}


I would nust comment out those 4 lines and then test it in Vegas 7.
Jessariah67 wrote on 11/10/2008, 7:49 PM
Thanks Edward, I'll give it a try.

K