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)