def test_alias_asterisk(self):
if not has_sound("SystemAsterisk"):
- print "No default SystemAsterisk"
return
if _have_soundcard():
winsound.PlaySound('SystemAsterisk', winsound.SND_ALIAS)
def test_alias_exclamation(self):
if not has_sound("SystemExclamation"):
- print "No default SystemExclamation"
return
if _have_soundcard():
winsound.PlaySound('SystemExclamation', winsound.SND_ALIAS)
def test_alias_exit(self):
if not has_sound("SystemExit"):
- print "No default SystemExit"
return
if _have_soundcard():
winsound.PlaySound('SystemExit', winsound.SND_ALIAS)
def test_alias_hand(self):
if not has_sound("SystemHand"):
- print "No default SystemHand"
return
if _have_soundcard():
winsound.PlaySound('SystemHand', winsound.SND_ALIAS)
def test_alias_question(self):
if not has_sound("SystemQuestion"):
- print "No default SystemQuestion"
return
if _have_soundcard():
winsound.PlaySound('SystemQuestion', winsound.SND_ALIAS)