Kay, well I looked the say part up in the mac scripter forum http://macscripter.net/viewtopic.php?pid=68963 There is a wealth of information and code on that forum. ´say´ is part of the scripting additions. And yes, Applescript is at times 'underdocumented', as is the Quicktime player Pro, I do a lot of basic stuff in the Quicktime Player, but it is up to the user to find out how.
Once Richard gets this going he can choose a voice he likes with the say command and let that voice speak the text. Since 10.5 there is a high quality voice 'Alex' which sounds pretty naturally, I think it is the default voice for 10.5 regards Bernd Kay C Lan wrote: > > On Fri, Apr 10, 2009 at 11:02 PM, BNig <niggem...@uni-wh.de> wrote: > >> >> --------------- >> set myDesktop to (path to desktop) as text >> set myfilePath to myDesktop & "myRecording.aif" >> set myText to "What to say, this is a recorded message and nothing more" >> say myText saving to file myfilePath >> set myExportPath to myDesktop & "myRecording.wav" >> set myPrefPath to myDesktop & "QTExportSettingWAV" >> tell application "QuickTime Player" >> open file myfilePath >> export document 1 as wave replacing yes to file myExportPath using >> settings >> file myPrefPath >> end tell >> --------------- >> > > Brilliant! You'd never figure that out reading an AppleScript manual; you > gotta love this List. -- View this message in context: http://www.nabble.com/bad-interaction-between-%22random%22-and-%22word%22--tp22901630p22990010.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution