Re: Programmatically to Make Voiceover to Speak?
Re: Programmatically to Make Voiceover to Speak?
- Subject: Re: Programmatically to Make Voiceover to Speak?
- From: Patti Hoa <email@hidden>
- Date: Wed, 14 Jun 2017 11:08:43 -0700
Hi Chi,
Currently VoiceOver will only listen for announcement notification on the
frontmost active window.
VoiceOver users are very selective about what they want to hear, so
announcement notification should typically used minimally, and as a last resort.
Maybe if you can explain what type of announcement you are wishing to post from
your menu bar app, we might be able to find a different mechanism.
Patti
> On Jun 13, 2017, at 6:11 PM, Chi Kim <email@hidden> wrote:
>
> Hi,
>
>
> Is there a way to make Voiceover to speak something using Swift/Objc?
>
> NSAccessibilityPostNotificationWithUserInfo only seems to work when the
> app is active and window is visible. The app I'm working on is menu bar
> app, so there's no window.
>
> I tried NSSpeechSynthesizer, but it does not honor the speech setting
> that Voiceover uses.
>
> I'd appreciate any pointer!
>
> Thanks!
>
>
> Chi
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Accessibility-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden