我可以使用OS X 10.8的语音识别/听写没有GUI? [英] Can I use OS X 10.8's speech recognition/dictation without a GUI?
本文介绍了我可以使用OS X 10.8的语音识别/听写没有GUI?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
理想情况下,我想使用来自Python的10.8的/ Mountain Lion的听写功能,没有GUI。据我所知,目前只能通过使用 UITextInput协议,这意味着一个GUI(正确的?)。
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?).
推荐答案
通过模拟按键(在这里成功尝试)
You can create a dummy text field and programmatically start dictating by emulating the keypress (tried out successfully here)
这篇关于我可以使用OS X 10.8的语音识别/听写没有GUI?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文