Comments

jetdv wrote on 2/3/2004, 8:39 AM
Sounds like you double-clicked the script in Explorer.

To run a script, in VEGAS go to Tools - Scripting - Run Script and then pick the script file from that dialog.
Tonapah wrote on 2/3/2004, 11:31 PM
Thanks, but unfortunately this is within Vegas
jetdv wrote on 2/4/2004, 6:49 AM
Ok. You said "Any" script. What scripts have you tried and where/how did you get them?
Tonapah wrote on 2/4/2004, 8:50 AM
Thanks for the follow up.
Most of all of them are from Sundance - I have two batch render scripts I am mainly interested in - but I spent a half hour or so downloading a bunch of scripts from Spot's site and I get the same error message on all of them.
I suspect a script blocking software I may have used fighting some pop-up wars earlier on.
Here is first few lines of the Batch Render script:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY>
/**
* This script can be used to queue up multiple Vegas project files
* to be rendered.
*
* Revision Date: Feb. 11, 2003
**/

import System.IO;
import System.Windows.Forms;
import SonicFoundry.Vegas;

// Modify the following two lines to suit you needs for the output
// format.
var rendererRE = /Video for Windows/;
var templateRE = /NTSC DV/;

etc
jetdv wrote on 2/4/2004, 9:02 AM
The FIRST line of the script is:

/**

Get rid of:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY>

There may also be some HTML at the end of the script you also have to get rid of.
Tonapah wrote on 2/4/2004, 11:40 AM
Thanks Ed.
I compared the vegas supplied batch-render script on the installation disk and what I had downloaded and saw some of that extranneous stuff at the top. I will also check out the end.
I appreciate the help,