NSTextView and the Text to Speech system shortcut
NSTextView and the Text to Speech system shortcut
- Subject: NSTextView and the Text to Speech system shortcut
- From: Philip Dow <email@hidden>
- Date: Mon, 14 Jan 2008 07:35:01 -0800
I am overriding the startSpeaking message in an NSTextView subclass so
I can set a delegate on the speech synthesizer object and do some
additional processing while text is being spoken.
This works great when I start speaking the text using the text view's
built in contextual menu. However, I'm noticing that the startSpeaking
method is not being called when I use the system keyboard shortcut set
in the Text to Speech system preferences.
Would anyone be able to tell me what message is called on what object
when that shortcut is used, or if the system is handling it entirely?
I'd like to be able to override the command coming from there as well.
Thanks,
~Phil
_______________________________________________
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