MoonPoint Support Logo

 

Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
June
Sun Mon Tue Wed Thu Fri Sat
      2
   
2016
Months
Jun


Thu, Jun 02, 2016 10:56 pm

Have your Mac speak to you

The say command on a Mac OS X system can be used to have the system vocalize text you type. E.g., at a Terminal window (the Terminal application is found in Applications/Utilities) you could issue the command say "Hello world". Though you can include a period or question mark at the end of the text, if you include an exclamation mark, since that has a special meaning to the shell, you will get an error message.
$ say "hello world"
$ say "hello world."
$ say "hello world?"
$ say "hello world!"
-sh: !": event not found

You can have the words in a file spoken by using say -f filename where filename is a text file containing whatever text you wish the system to read aloud. E.g., to read the contents of saythis.txt, I could issue the command say -f saythis.txt.

[ More Info ]

[/os/os-x] permanent link

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo