Is there any way to control XBMC (xbox media center) by voice using applescript, any help would be greatly appreciated.
googleman76
Not sure what you mean.
Do you want the computer to talk vocally to your XBMC? if so then it’s just a simple:
say "type what you want to say here"
That’s not what he meant.
He’s talking about XBMC, the media center application which was originaly made to run on the xbox. However they discontinued suppot for xbmc and it now runs on multiple systems. What you actually mean is when you say Pause that the xbmc will pause the video. Well yes, you can make this but it won’t work really wel… Hopefully when apple brings siri to the make (and makes it scriptable) it will be better.
kel1
August 22, 2013, 7:28am
#4
If there are keyboard shortcuts in the app then you can use System Events to simulate key strokes.
Since the old Mac OS the Mac can be controlled by voice, so siri is already in here. I don’t think you should even consider using AppleScript. All the key commands of an application can be controlled by voice, you only need to define them by hand. Why explaining when there is an great tutorial written by macworld
Have you tried the Speakable Items lately - on a Mac, of course? Turn on Speakable Items in the System Preferences (the microphone) in X, and you can ask your Mac the classic question “What time is it?” and it will come back to you with the exact time. There’s a whole lot of other commands in the speech commands window, which you open by clicking the little arrow at the bottom of the nifty round speech feedback window. Or you can just say: ‘Open Speech Commands Window!’ and it will open. But you can also make applications speakable. How?
Open Safari. Say: ‘Make this application speakable’. Then say: ‘Define keyboard command’. A window will open, and you hit the keyboard combination for a shortcut, let’s say Command-left arrow. Write the command: ‘Back’. Save. Now you can not only say the default window commands like: Move page up, move page down, move page to top, move page to bottom, but also ‘back’, and you will see Safari go back to the last page you visited. Now, say ‘Define keyboard command’ again, and this time hit command-right arrow and write: ‘Next, please’ (this works for me, forward doesn’t). Now you can go back and forth in Safari with your voice.
The urls in the menu bar each have a command+1, command+2 and so on for nine favorite places you often go to. Now make these places speakable! Whoa! Mac rules! Safari rules! And, of course: Command-Alt-P: ‘back to basics’ (the new Safari command to go back to the mother site). Instead of ‘back to basics’ you can also say: 'back to the mother ship. It’s your choice! And Command-Alt-S: ‘back to search’ (the new Safari command to go back to the search results you started with). And Command-Alt-B: ‘Navigate’ (my choice) will bring the bookmarks on/off. Nifty!
Thank you all for your help, I will play around with it for a little while and get back to you guys on how it worked out.
googleman76