Julian Sutherland
Julian Sutherland

Reputation: 223

Using the narrator in C# windows store apps

the narrator API (System.Speech) is not available for windows store. Is there an alternative API or method for using this? I found that there is a text-to-speech function as part of the Microsoft translator service, however since the narrator is already available, it would be silly to have to use this service for that, so I'd rather use it directly if possible.

I thought of maybe running a command through CMD.exe to text-to-speech something, but in windows store apps it's impossible to launch external processes, also I haven't found a command line interface for the narrator anyway.

Does anybody know of any method of doing this?

Upvotes: 0

Views: 734

Answers (2)

Tabrock
Tabrock

Reputation: 1169

Are you trying to implement accessibility? If so, then this may be what your looking for: https://msdn.microsoft.com/library/windows/apps/windows.ui.xaml.automation.automationproperties

You can set the Name attached property to whatever you would like to have read.

Upvotes: 0

Farhan Ghumra
Farhan Ghumra

Reputation: 15296

Windows 8.1 has offline text to speech support. Here's MSDN sample.

Upvotes: 2

Related Questions