[Macpartners] redirecting a stream to the speech service

Albert Willis awillis at MIT.EDU
Wed Oct 15 13:00:36 EDT 2003


Applescript has a say command which speaks whatever is sent to it. If 
you open the script editor and type say "Hello", the Mac will speak.

You can run Applescript commands from the command line by using the 
osascript command. Look at the man pages for how this works. For 
example, in the shell, you can type osascript -e 'say "Hello" ' and 
it'll say hello.

Let us know how you make out.

   -- Al

On Wednesday, October 15, 2003, at 08:35  AM, vanni wrote:

>
>
> Has anyone figured out how to redirect a stream,
> from the command line (shell) to the speech service ??
>
> -vanni
>
>
> ... this would be ~like the "open" command from the shell.
>
> The applications would be many especially for tools such as emacs.
> For example, one could send a buffer, a region, etc.
> to the speech service with a single keystroke.
>
> _______________________________________________
> Macpartners mailing list
> Macpartners at mit.edu
> http://mailman.mit.edu/mailman/listinfo/macpartners



More information about the Macpartners mailing list