Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Command line interface/tool for Mountain Lion's dictation app?

Lots of people know about the Mac OS X command line tool say, which performs text-to-speech on a Mac from the terminal:

sh $ say Hello World!

Is there a command-line tool available for the Mountain Lion dictation application -- something that does speech-to-text?

Apple documentation doesn't seem to mention anything, but I wouldn't be surprised either if there is an undocumented CLI for the Dictation service hidden somewhere in OS X.

like image 959
smithclay Avatar asked Dec 01 '25 00:12

smithclay


1 Answers

You need to invoke the SpeechApplicationServer.app, using AppleScript. More details here: https://apple.stackexchange.com/questions/127366/speechrecognitionserver-not-found-in-mavericks-with-applescript

like image 81
François Zaninotto Avatar answered Dec 02 '25 18:12

François Zaninotto



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!