The world according to...
Nathan Oates
 
 
 

Thu, 12 Jan 2006

Voice Command of your Toppy
This was just a bit of silly fun, but someone mentioned a few weeks back if it was possible to mute the Toppy by telling it via vioce recognition. It turns out that it was really very easy, as I had already put AppleScript into VirtualRemote.app. So all you have to do is make an AppleScript like this:

tell application "VirtualRemote"
   sendKey numbered "65548"
end tell
Then if you save this as an app with the title of what you want to say eg "Toppy mute" or "Silence", put it in the Speakable Items folder in ~/Library/Speech/Speakable Items (just the main section if you want to access it at any time), then turn Speakable Items on in the Speech Prefs. Make sure that the VirtualRemote TAP is running (you will have to run it without any other TAPs though - press 0 during startup and then launch just the VR TAP), and say the magic words. The Toppy should then mute or unmute as appropriate.


     
Comments

     
     

Your Comment

 
Name:
URL/Email: [http://... or mailto:you@wherever] (optional)
Title: (optional)
Comment:
Save my Name and URL/Email for next time