james_b
2/20/2006 6:22:00 PM
Matt Ramos wrote:
> Hello. I'm trying to execute a beep on my computer with ruby as an
> alert, but I can't seem to get it to work.
This works for me on Win2k
def beep
puts "\C-G"
puts "\C-G"
sleep(1)
puts "\C-G"
puts "\C-G"
end
--
James Britt
"You harmonize; then you customize."
- Wilson Pickett