Comments

jetdv wrote on 8/18/2009, 10:48 AM
I just opened Vegas Pro 9, added a clip to the timeline, went to the project Media tab, renamed it, and it changed the name on the hard drive too. So I'm not seeing any problems with renaming.

Having said that, .js and .cs does not an "inputbox" - you need to actually create a form with a text box.

As an alternative, you could do a .vb script using Visual Basic instead of JScript or C#. Here's a sample .vb script:


' This most simple VBScript displays the version of the Vegas
' application in a message box. Notice that any script that talks to
' Vegas will import the SonicFoundry.Vegas.Script namespace. Please also
' notice that the portion of script code that Vegas will invoke must be
' placed in a subroutine named "Main" which is in a module named
' "MainModule".
'
' Revision Date: Jan. 30, 2003.

imports System.Windows.Forms
imports Sony.Vegas

Public Module MainModule
Sub Main
MessageBox.Show("VegasApp.Version: " & VegasApp.Version)
End Sub
End Module
ChrisFontenot13 wrote on 8/18/2009, 11:40 AM
Edward Troxel! You've been answering my rambling questions as long as I've asked them, and I thank you for it.

Vegas Pro 9.0a keeps giving us the good ol' "Error renaming File or Folder" if we try to change the name in the "All Media" tab of "Project Media." Maybe this is a preference issue? If so, I can't figure out which one to turn off/on. It's been aggravating our video techs since we switched.

I use VB 2008 for most of my coding, so thankfully at least a script won't be that big of a leap.
ChrisFontenot13 wrote on 8/18/2009, 12:50 PM
Now, with more info!
Vegas Pro 9.0a (704). fresh install
on XP SP3 or Windows 7
32 and 64 bit
With & without Media Manager running
So far, we've tried to turn off & on most of the settings in preferences but it still won't let us rename media files.
jetdv wrote on 8/18/2009, 2:11 PM
I tested on Vegas Pro 9.0 on XP SP2 without Media Manager which worked fine.