I'm not sure exactly what you mean but you can use a shared dll from multiple scripts. This dll can reference objects in the Sony.Vegas namespace but you need to pass the Vegas objects from your little scripts to methods in the shared dll.
You'll also need an AssemblyReference element in your script config files to tell Vegas where to find your shared dll. For example, here's a sample script that uses a shared dll:
using System;
using Sony.Vegas;
using MyVegasHelpers;
public class EntryPoint {
public void FromVegas(Vegas vegas) {
VegasHelpers.PitchUp(vegas, 1);
}
}
In this case, MyVegasHelpers.dll is in the same directory as the script (thus the "local" resolver. You can also specify a full path to the shared dll and use the "default" resolver.
Another approach is to create links to your script in the Script Menu folder and specify script arguments in the .lnk file. Script arguments are available to the script using the static Sony.Vegas.Script.Args object:
Another approach is to create links to your script in the Script Menu folder and specify script arguments in the .lnk file. Script arguments are available to the script using the static Sony.Vegas.Script.Args object:
Ah, that's the info I was looking for. You the proverbial man, Mr PJM.