Since installing this update my custom volume buttons have stopped working. Here's an example of the code I use:
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
The code verifies and will run but doesn't change the volume. Does anyone know of some alternative code I can use to boost or lower volume? Is there a dedicated forum for Sound Forge scripting anywhere? Thanks in advance.