I'm a long term user of Sound Forge and have some scripts set as buttons to quickly change volume. Here is an example:
using System; using System.IO; using System.Windows.Forms; using SoundForge;public class EntryPoint { public void Begin(IScriptableApp app) { app.CurrentFile.DoEffect("Volume", "1 dB Boost (112.20 %)", // this must be the name of a Volume preset. app.ActiveWindow.EditRegion, EffectOptions.EffectOnly); app.CurrentFile.WaitForDoneOrCancel(); }public void FromSoundForge(IScriptableApp app) { ForgeApp = app; //execution begins here app.SetStatusText(String.Format("Script '{0}' is running.", Script.Name)); Begin(app); app.SetStatusText(String.Format("Script '{0}' is done.", Script.Name)); } public static IScriptableApp ForgeApp = null; } //EntryPoint
After updating to build 161 all such scripts have stopped working. They still validate but when I run them, they do nothing. Currently, I'm back with build 64 so that my volume scripts will work. Does anyone know of an alternative volume altering script that works with build 161? Thanks. Incidentally, is there any additional documentation for working with scripts and SF15 beyond that in the help manual?