Can you use say with display dialog?

I’m building a script and instead of having it flow like this:

say “[[180]] How may I assist you?” using “Cepstral Lawrence”
display dialog “How may I assist you?” buttons {“Read Schedule”, “Read Email”, “Read News”}

I’d like to have it speak as the dialog box is displayed. Is this possible?

No, I don’t think so :frowning:

Something like this?

set msg to "How may I assist you?"
do shell script "osascript -e 'say \"[[180]] " & msg & "\" using \"Cepstral Lawrence\"' >  /dev/null 2>&1 & "
display dialog msg buttons {"Read Schedule", "Read Email", "Read News"}

Doesn’t work in 10.5.3; say has changed.

I’m running 10.5.3 and it worked for me

Thanks Nigel, that’s exactly what I wanted to do…