Gilles' Batch Replace - where? How?

Skaven252 wrote on 11/24/2009, 5:42 AM
I've used some of Gilles Pialat's extremely helpful Vegas extensions:
http://sony.vegas.1.free.fr/
(check them out if you haven't, they're handy!)

They're installed by putting the .dll file to:

C:\Documents and Settings\<username>\Application Data\Sony\Vegas Pro\8.0\Application Extensions\

... and then restarting Vegas. "Go To" works wonderfully.

However, I've now tried to install Batch Replace, but cannot find it in any of the menus. Not in Tools/Extensions, View/Extensions, Edit/Extensions, nor under the Project Media right click menu... so... where does it appear? The readme file is minimal, and I can't find any instructions. :/

Thanks!

Comments

MarkWWW wrote on 11/24/2009, 12:29 PM
Unless it's recently been modified, "Batch Replace" isn't an extension, it's just a normal, old-fashioned, Vegas script. If you're trying to install it as an extension, as it seems you are, it will not work.

Instead just copy the files to C:\Program Files\Sony\Vegas Pro 9.0\Script Menu and you will find that it shows up under Tools|Scripting. (You may need to rescan the script menu to get it to appear - just click on Tools|Scripting|Rescan Script Menu Folder and it should appear.)

Mark
Skaven252 wrote on 12/2/2009, 12:44 AM
Thanks for the reply, sorry for the delay. Been BZ. :)

Well, I guess it has been recently modified, because it SAYS it's a "script" but it's actually a .dll file, ie in an editor it looks like a binary file, not like CSharp script. That's why I put it in the Application Extensions folder.

But to humour you, I tried copying it to the Script Menu folder and it indeed did appear on the menu, but it won't work. "The located assembly's manifest definition does not match..." etc. Obviously, since the script compiler only accepts .cs scripts.

Has anyone here used the Batch Replace .dll recently?
MarkWWWW wrote on 12/2/2009, 5:36 AM
> it SAYS it's a "script" but it's actually a .dll file

A script can be a .dll file. (This kind of script is produced by writing the script in C# (for example) and then compiling it into a .dll.) It is still a script, and it still belongs in the script menu folder, not in the extensions folder. Put the .png file there too - this is the icon that will appear on the Script Menu.

> "The located assembly's manifest definition does not match..." etc.

This means that the script has been "compiled against" a version of Vegas that is later than (or at least does not agree with) the version you are trying to run it under. As Gilles explains in the batchreplace.txt file, the Batch Replace script works with Vegas V.8.0c and later - if you are using V.8.0b or earlier you will need to upgrade to a later version of Vegas to get the Batch Replace script to run correctly.

> Obviously, since the script compiler only accepts .cs scripts.

Not true, as explained above.

Mark
Skaven252 wrote on 12/4/2009, 4:43 AM
Oh, I see, so .dlls work? I stand corrected.

I updated my Vegas to 8.0c and now the Batch Replace script works. Thank you!