Mnemonics
'BEEP' Simple Sound Effect
  Behaviour
   
Description The 'BEEP' mnemonic allows applications to play sounds in a simpler manner than the MULTI_MEDIA command. This mnemonic accepts a string that contains the same keywords as the MSGBOX directive relative to the system sounds of "STOP", "QUESTION", "INFO", "EXCLAMATION", "?" and "!".

For Example:

PRINT 'BEEP'("STOP") PRINT 'BEEP'("STOP,w")

The ,w after the name causes ProvideX to wait until the sound has completed before continuing any processing. If the first character of the sound name provided is an asterisk *, the system will look up the sound name as defined in the Windows registry (which is not the same as the sound name in the control panel) or a specifc pathname; e.g.,

PRINT 'BEEP'("*MailBeep") ! Registered Sound Event
PRINT 'BEEP'("*C:\Windows\Media\ada.wav") ! Specific File

PRINT 'BEEP'("*Windows XP Logoff Sound") ! Found by automatic search

In the last example, the real filename is C:\Windows\Media\indows XP Logoff Sound.wav.If the name given does not match a registered sound, then the Windows OS searches its list of possible sound locations (current directory, Windows directory, System directory, etc.).

For more details, consult the Microsoft documentation on Registering Sound Events or check the registry for HKEY_CURRENT_USER\AppEvents\EventLabels\*