May 17, 2007...8:13 am

Skype + Applescript = poor man’s voice web services

Skype is one of my favorite applications. I recently used Skype to call someone in Russia and it only cost a few cents. I’ve also been studying the Skype API, which opens some interesting possibilities.

On a Mac, you can combine simple Applescript commands with simple Skype commands to open a lot of possibilities. For example, this Applescript opens Skype and calls the best taco shop in Provo, UT:

tell application “Skype”
send command “CALL +18013774710″ script name “Call the best taco shop in Provo, UT”
end tell

Skype can be scripted to automatically make phone calls, chat by video or text, or send text messages. You can also pipe in any audio or record the phone call.

This has interesting implications for companies like MacMiniColo.net that use Macs as servers (disclosure: I’m a friend of its owner and staff, and I’ve done contract work for them in the past.) Combining Applescript, Skype, shell scripting, and the say command, your server could be configured to call your cell phone when there’s an outage and tell you what the problem is.

Jon Udell’s podcast about communications-enabled business processes discusses the integration of voice calls into computer processes. They discuss examples where a business process may need approval from a supervisor. With voice integration, the computer could call a manager with a “press 1 to approve, press 2 to disapprove” message.

Skype + Applescript is sort of the poor man’s version of VOIP web services, but it’s exciting that you could actually do something interesting with it today.

If you want to be notified the next time I write something, sign up for email alerts or subscribe to the RSS feed. Thanks for reading.

Leave a Reply