Send iMessages from the Command Line
Just run the following in your shell:
$ curl https://raw.github.com/gist/2376590/imsg.rb > ~/bin/imsg
$ chmod +x ~/bin/imsg
The same command will update the script if/when I update it. It also assumes that ~/bin
is in your path.
$ imsg <recipient e-mail/phone no.> <message>
I get the error:
/usr/bin/env: ‘macruby’: No such file or directory