cocoa - How can I tell if Voice Over is turned on in System Preferences? -


Is there any way, ideally suited for Mac OS X 10.3, tell whether "voice over" Is System Pre Activated?

It appears to be stored in a priority file for universal access. The app identifier is "com.apple.universalaccess" and the key in which the flagged voiceover is turned on or off "Voice OverOffkey" should be able to retrieve it using the CFPreferences API, showing something like this:

  CFBooleanRef flag = CFPreferencesCopyAppValue (CFRTR ("VoiceOverOnOffKey"), CFSTR ("com.apple.universalaccess"));  

Comments