Monthly Archives: August 2008

How to ring the system bell with Ruby (Win32)

There a couple ways to accomplish this. My application required the first option because the second wouldn’t work from within Eclipse. require “win32/sound” include Win32”, Sound::ALIAS) # play system asterisk sound Sound.beep(600,200) # play a beep 600 hertz for … Continue reading

Posted in ruby | Comments Off