Re: Say to file is broken
Re: Say to file is broken
- Subject: Re: Say to file is broken
- From: Philip Aker <email@hidden>
- Date: Mon, 11 Nov 2002 23:58:09 -0800
On Monday, Nov 11, 2002, at 21:14 US/Pacific, Doug Everly wrote:
This example from Apple's web page does not save the voice sound into a
file in 10.2.2, but does not indicate any errors.
From http://developer.apple.com/ue/speech/applescript.html:
on run
set theText to "This is something very cool very cool very cool this
is something very cool that every mac can do!"
say theText using "Cellos" saving to "my_cool.aiff"
end run
Anybody have any ideas on why this isnt working?
Because you didn't "try" hard enough?
try
set dpath to (path to desktop as string) & "cool.aiff"
set phrase to "Care for a spot of tea? Care for a spot of tea?"
say phrase using "Daljit" saving to dpath
on error errs number errn
display dialog errs
end try
Philip Aker
http://www.aker.ca
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.