Peter Rootham-Smith wrote:
Spawning a process to invoke Applescript would be perfectly
acceptable
save I don't think Applescript lets you write the spoke dialogue to
a file.
The 'say' AppleScript verb will write to a file. Run "Script
Editor.app",
open the dictionary for "StandardAdditions", look under "User
Interaction"
for 'say' and its 'saving to' clause.
The '/usr/bin/say' command will also write to a file. See 'man say'
and
its -o option.
You should have asked "I want to write spoken dialogue to files".
-- GG