Page 1 of 1

Turn off VoiceOver when using a stack

Posted: Mon Sep 26, 2022 7:57 am
by gg12
Hi,
I would like to turn off VoiceOver or Narrator when my stack is running and turn it back on when we close the stack. I don't know how to take the approach.
The only function I found close to my subject is "mobileIsVoiceOverRunning" on iOS.

Thank you
-gg

Re: Turn off VoiceOver when using a stack

Posted: Mon Sep 26, 2022 11:33 am
by stam
Hi gg - not sure what platform you're referring to, i presume MacOS as you've been looking into iOS.

Don't know if it helps, but the Accessibility API should cover this:
https://developer.apple.com/library/arc ... ityMacOSX/
Quite how you would use that via LC I'm not sure...

It may be simpler to control this via AppleScript. There is a 'VoiceOver utility" app on mac. The tickbox to allow this to be controlled via AppleScript needs to be ticked (i'm guessing that's doable via AppleScript as well).

See a youtube video on this here: https://www.youtube.com/watch?v=FCbgtb0jeQ4

Obviously the above are for MacOS only...

HTH
S.

Re: Turn off VoiceOver when using a stack

Posted: Mon Sep 26, 2022 1:15 pm
by gg12
Hi S.,
Thank you so much for your directions. That confirms what I thought: I need to go to a level lower.
I'm looking to cover all the platforms in the futur, however with what you gave me, it's a great start.
(VoiceOver on iOS, Narrator on Windows, iOS, Android etc.)
I'll try to work that out when I finish my current tasks and will try to update a bit on the directions I went.

Best regards and great Monday,
-gg