When I'm do an audio recording with Vegas 9 and I run a script the recording stops.
Any thoughts?
Here's the VB script (though I think any script will abort the recording).
imports System.Windows.Forms
imports Sony.Vegas
imports Microsoft.VisualBasic
Public Class FileSystem
End Class
Public Module MainModule
Sub Main
Microsoft.VisualBasic.FileSystem.FileOpen(1, "C:\VoiceDevRecording\Test.txt", _
OpenMode.Output, OpenAccess.Default, OpenShare.Shared)
Microsoft.VisualBasic.FileSystem.PrintLine(1, VegasApp.Cursor.ToString())
Microsoft.VisualBasic.FileSystem.PrintLine(1, "Hello World")
Microsoft.VisualBasic.FileSystem.FileClose(1)
End Sub
End Module
Any thoughts?
Here's the VB script (though I think any script will abort the recording).
imports System.Windows.Forms
imports Sony.Vegas
imports Microsoft.VisualBasic
Public Class FileSystem
End Class
Public Module MainModule
Sub Main
Microsoft.VisualBasic.FileSystem.FileOpen(1, "C:\VoiceDevRecording\Test.txt", _
OpenMode.Output, OpenAccess.Default, OpenShare.Shared)
Microsoft.VisualBasic.FileSystem.PrintLine(1, VegasApp.Cursor.ToString())
Microsoft.VisualBasic.FileSystem.PrintLine(1, "Hello World")
Microsoft.VisualBasic.FileSystem.FileClose(1)
End Sub
End Module