To load BBSoundFX you simply need to add the relative path of the plugin (from your Blackbox directory) to the Blackbox configuration file plugins.rc (located in the Blackbox directory).
For example, if you installed Blackbox into c:\Blackbox, and BBSoundFX.dll is located in c:\Blackbox\plugins\BBSoundFX, you should add the line...
plugins\BBSoundFX\BBSoundFX.dll
...to plugins.rc. Simple, eh? :)
Well, there's no actual configuration of this plugin. During startup/restart BBSoundFX will check
if the following files are present in the same folder as the plugin:
menu.wav Played when menus are opened (main, workspace, toolbar and plugin menus)
submenu.wav Played when submenus are accessed
restore.wav Played when tasks are restored (using the taskbar or the task switch buttons)
minimize.wav Played when tasks are minimized (using the taskbar)
workspace.wav Played when changing workspaces
toggletray.wav Played when the system tray / taskbar is toggled (shown/hidden)
reconfigure.wav Played when changing styles and on Blackbox reconfigure command
hour.wav Played every hour
halfhour.wav Played every half-hour (and full hours if hour.wav does not exist)
winshade.wav Played when windows are shaded/unshaded
If a specific file is present that sound event is enabled; if not it is disabled. If the sound event is enabled
at startup/restart it is also possible to change sounds "on-the-fly" while running, i.e. by replacing the files with others
(keeping the filenames above, of course).
Finally, you can control BBSoundFX using the following broadcast messages (bro@ms):
@bbsfxToggle Enable/disable sound effects
@bbsfxAbout Show BBSoundFX version information
Hmm, I guess that's it! :D
|