Community Forums Archive

Go Back

Subject:Scripting: Save Regions As Files FAILS, SF10a DEMO
Posted by: Jace
Date:10/22/2009 11:24:29 PM

Scripting: Save Regions As Files FAILS,
Sound Forge 10a
DEMO

If you use the "Default Template" the status bar complains that it can't open the template. If you use one of the two templates (in my case "44,100 Hz, 16 Bit, Stereo") it asks for a path. i select "D:\Audio\Music Data\Samples\Fairlight IIx Sample Library\Fairlight Disk 1 Keyboards 1" and get this:

Sound Forge Error 0x8004E007 The file could not be opened. Make sure the file exists and that you have access to the file/folder.
while calling SoundForge.ISfGenericPreset RenderAs(System.String, System.String, System.Object, SoundForge.SfAudioSelection, SoundForge.RenderOptions)
--------message----------
You made a method call on a COM+ component that has a transaction that has already committed or aborted. (Exception from HRESULT: 0x8004E007)
--------Stack Trace----------
at SoundForge.ISfFileHost.RenderAs(String strFilename, String strFormatNameorGUID, Object vTemplateNameOrData, SfAudioSelection asel, RenderOptions opt)
at EntryPoint.Begin(IScriptableApp app)
at EntryPoint.FromSoundForge(IScriptableApp app)


i've tried with a shorter path (C:\test) and the same problem happens.

Message last edited on10/22/2009 11:25:31 PM byJace.

Go Back