A SERVICE OF

logo

20
CHP. 20 USING SCRIPTING
CHAPTER
363
Using Scripting
Using the scripting features, Vegas® software becomes an even more powerful and flexible tool. You can use
scripting to streamline repetitive tasks, integrate with external applications, and implement customized
features.
To use scripting, you’ll need to install the Microsoft® .NET Framework. This component is available from
the Microsoft Windows® Update site. (Choose Windows Update from the menu.)
Note:
To use scripts that were created for Vegas 4.0
software, you'll need to revise the script's namespace from
SonicFoundry.Vegas to Sony.Vegas. For example, the line
that includes “import SonicFoundry.Vegas;” should be
changed to “import Sony.Vegas;” before running the script.
This feature is available only in the full version of Vegas software.
Running a script
1.
From the Tools menu, choose Scripting, and then choose Run Script from the submenu. The Run Script
dialog is displayed.
2.
Browse to the script file (.vb or .js) you want to run.
3.
Select the file and click the Open button. The script runs.
20