In a not so recent post (recently deleted), I stepped through the process of a home grown phone automation system. I fully intend to make some much needed changes to that project, but the guts of it are as follows - Skype, Applescript, Mail.app and Automator. Recently I've been presented a new problem and decided to leverage Python and Google Voice. After downloading the necessary files (testing it on my MB Pro)
sudo easy_install simplejson
sudo easy_install -U pygooglevoice
launch terminal and type the following
python
from googlevoice import Voice
from googlevoice.util import input
voice = Voice()
voice.login()
phNumber = input('Number to send sms message to: ')
txtMessage = input('SMS message: ')
voice.send_sms(phNumber, txtMessage)
There you have it! A quick way to automate sending a sms message to a number(s).
In my next post I will cover the earlier mentioned HAL system using Skype.
-binarybrain
0 comments:
Post a Comment