Problem running script

craftech wrote on 5/24/2004, 5:00 PM
I have NEVER tried running a script,but the gaps issue really got to me on my current project. Since I have multiple video AND audio tracks, closing all the gaps is really tedious. So I figured I would finally give scripts a try.
I am running W98SE and have the MIcrosoft .NET Framework version 1.1 installed.

When I went to run John Meyer's JHM_Audit_for_short_blank_gaps script.... I got the following error message:

Error on line 17
Variable 'Timecode" has not been declared.

Anyone run into this problem?

Thanks,

John

Comments

epirb wrote on 5/24/2004, 7:33 PM
I just tried a couple scripts that I had from before....I just guessing but I think when the error contains the variable timecode error it has something to do with the diiference between V4 and V5.
craftech wrote on 5/24/2004, 8:14 PM
I just tried a couple scripts that I had from before....I just guessing but I think when the error contains the variable timecode error it has something to do with the diiference between V4 and V5.
==================
I am running Vegas 4.0
craftech wrote on 5/24/2004, 8:36 PM
This worked:
Open the scriipt file with an editor such as notepad.

At the top of the script you will see the following line

import Sony.Vegas;

Change the above line to read as follows:

import SonicFoundry.Vegas;

Save the file (overwrite the provious copy) and then execute script.

Suggestion came from a poster on the scripting forum.

John