I use a simple python script. See under for the source. Even works under
Windows :-)

#!/usr/bin/python
import sys, time

def usage():
        print 'Usage: beep number_of_times_to_beep'
        sys.exit(1)

if len(sys.argv) != 2:
        usage()
try:
        for i in range(int(sys.argv[1])):
                print chr(7)
                time.sleep(1)
except:
        usage()

# ----END----

> Hi,
>
> This is a very simple question.. I want to put a "beep" at the end of a
> script so I know when its done.. any ideas how to get a beep or play a
> simple sound thru a script?
>
> thanks
> sarang
>
>




Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to