• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Speech impediment (Greg Spence)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Speech impediment (Greg Spence)


  • Subject: Re: Speech impediment (Greg Spence)
  • From: Greg Spence <email@hidden>
  • Date: Fri, 03 Aug 2001 09:35:03 -0500

--Just for fun, here's a way to randomize the available voices.

repeat
set vList to list folder (path to voices)
set spk to display dialog "What Would You Like Me To Say?" default
answer "" buttons {"Quit", "OK"} default button 2
if button returned of result is "Quit" then exit repeat
set txt to text returned of spk
set cownt to number of items in vList
set rndm to random number from 1 to cownt
set aVoice to item rndm of vList
say txt using aVoice
end repeat

--greg


  • Prev by Date: Re[2]: Script Applet rejects first handler call
  • Next by Date: How do I remove a resource fork?
  • Previous by thread: Stack overflow error
  • Next by thread: Re: Speech impediment (Greg Spence)
  • Index(es):
    • Date
    • Thread