问题
Ideally I would like to use 10.8's/Mountain Lion's dictation feature from Python, without a GUI. As far as I can tell dictation is currently only supported by using the UITextInput protocol, which implies a GUI (correct?).
回答1:
You can create a dummy text field and programmatically start dictating by emulating the keypress (tried out successfully here)
来源:https://stackoverflow.com/questions/11851713/can-i-use-os-x-10-8s-speech-recognition-dictation-without-a-gui