Telling if VoiceOver is on using Python

App Development and Programming

Hi all,
I'm writing a new VoiceOver backend for Ruuk's awesome 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.