0

I have a javascript UWP app running on Xbox One for a long time now, but recently we've been asked to implement TTS (text to speech) for the platform. The thing is, first we need to know if the Screen Reader setting is enabled. How can I access this setting from the API within my javascript application ?

1 Answers1

0

You can use UWP App Diagnostics to get the system running processes.

Enumerate running processes via ProcessDiagnosticInfo's Method GetForProcesses(), check if Narrator.exe is in the list.

Gets a list of ProcessDiagnosticInfo objects for all running processes that are accessible to the caller.

Here is the official UWP sample TaskMinitor for your reference.

enter image description here

Junjie Zhu - MSFT
  • 2,086
  • 1
  • 2
  • 6