Pages

Thursday, January 17, 2013

How do I set a variable to a spoken word from Speech Recognition?

I've been wanting to make an Applescript for the speech program, that will play an itunes song. I've got my script made, but my only problem, is i need it to set my variable "song" to whatever i say.

 

The script name is "Play" so that I can say "Computer, play [song name]"

 

I have no idea what to do here to give user input by speech instead of typing, anybody who can help?


View the original article here

0 comments:

Post a Comment