Re: speechSynthesizer willSpeakWord trouble
Re: speechSynthesizer willSpeakWord trouble
- Subject: Re: speechSynthesizer willSpeakWord trouble
- From: patrick machielse <email@hidden>
- Date: Sat, 7 Jul 2007 11:32:30 +0200
Op 7-jul-2007, om 02:15 heeft Paul Bruneau het volgende geschreven:
I am just messing around with some speech stuff (expanding on
examples from Hillegass' book) and I just can't make the
willSpeakWord delegate work right. Here is my method:
-(void)speechSynthesizer:(NSSpeechSynthesizer *)sender
willSpeakWord:(NSRange)characterRange
ofString:(NSString *)myString;
{
NSLog(@"Range: %@", NSStringFromRange(characterRange));
NSLog(@"Speaking: %@", [myString substringWithRange:characterRange]);
}
You found a bug. This delegate method stopped working in Mac OS X
10.4.7.
You can reference this ID in your own bug report:
Problem ID 4845318: NSSpeechSynthesizer delegate method always passes
nil for argument
patrick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden