User Tools

Site Tools


scratchpad:custom_audio

This is an old revision of the document!


Create the file server/skin/custom.js within your remote XUL directory.

Edit the file and enter lines derived from this pattern:

urls['AUDIO_event_EVENT_TEXTCODE_GOES_HERE'] = '/xul/server/skin/media/audio/path_to_custom_sound_goes_here.wav';

For example:

urls['AUDIO_event_COPY_ALERT_MESSAGE'] = '/xul/server/skin/media/audio/redalert.wav';
urls['AUDIO_event_COPY_BAD_STATUS'] = '/xul/server/skin/media/audio/redalert.wav';

See ils_events.xml for a list of textcodes and their descriptions. In the staff client, the textcode for overridable events will show up in red in the upper left of override dialogs. You may also use the debug console to watch for events as you simulate various situations.

scratchpad/custom_audio.1273850330.txt.gz · Last modified: 2022/02/10 13:33 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.