bayonne-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bayonne-devel] How can I check if a prompt file exists?


From: David Sugar
Subject: Re: [Bayonne-devel] How can I check if a prompt file exists?
Date: Fri, 29 Jul 2005 11:59:06 -0400
User-agent: Mozilla Thunderbird 1.0.5 (Macintosh/20050711)

I should add the -file (and -dir) checks only test for files and directories in the "var" filepath, and NOT in the voice library. Hence you really should have a /var/lib/bayonne/doctors/drxx.au and then do a test for -file doctors/drxx.au

address@hidden wrote:
Hi everyone. Is there any function in ccScript that lets me check for the
existence of an audio file?
I want my code to do something like this:

if FileExists("dr34.au")      # file contains the name of doctor n° 34.
then
    play TheNameOfTheDoctorIs.au
    play dr34.au
else
    play DoctorDoesntExist.au
endif

Thank you all
Roberto from Mendoza, Argentina



_______________________________________________
Bayonne-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bayonne-devel

Attachment: dyfet.vcf
Description: Vcard


reply via email to

[Prev in Thread] Current Thread [Next in Thread]