Skip to main content
Home

Main navigation

  • Apps
  • Forum
  • Blog
    • Podcast
    • Guides
    • Hardware & Accessory Reviews
    • Bug Tracker
    • Developer Resources
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. App Development and Programming

Telling if VoiceOver is on using Python

By Chris Norman, 16 August, 2014

Forum
App Development and Programming

Hi all,
I'm writing a new VoiceOver backend for Ruuk's awesome service.xbmc.tts (http://ruuk.github.io/service.xbmc.tts/), but I need to actually check that VoiceOver is running.

I can do it with AppleScript I guess, checking all the processes, and return AppleScript true if VoiceOver is there, but how do I get that into Python?

I was hoping for a more pythonic approach... Also, anyone know if you can tell VoiceOver to stop speaking with AppleScript? I was just using 'tell application "voiceover" to output ""', but I'm sure there's a better way. Perhaps using the 'Pause or Resume Speaking' thing that you can assign to a key in the VO Utility?

Cheers in advance.

Options

  • Log in or register to post comments

More Like This

Kodi Media Center (Mac App Directory)
GMP (Forum Topic)
Announcing Tdsr: A Command Line Screen Reader For Macintosh And GNU/Linux (Blog Post)
Making VoiceOver announce the time and date on your Mac (Guide)
Accessible Python IDE for MacOS (Forum Topic)
Python on iOS? (Forum Topic)
Accessible Python IDE For Mac (Forum Topic)
Is there an accessible Python interpreter for iOS? (Forum Topic)

Site Information

  • About
  • Club AppleVis
  • FAQ
  • Contact

Unless stated otherwise, all content is copyright AppleVis. All rights reserved. © 2023 | Accessibility | Terms | Privacy