|
|
|
|
|
by RoseO
4236 days ago
|
|
I wrote a little bash script to allow for the sending of iMessages and made a little API in Node so I could send service status messages across all my devices easily. It's probably not possible to do this in pure Node but if it's of interest here is the gist:
https://gist.github.com/roldershaw/7311547 Now I can see iMessage chatbots being made :P |
|
The gist version should even be able to handle input from stdin: https://gist.github.com/aktau/8958054
Like this: ./imessage <number> < notes.txt
I use it quite often :). The most difficult thing to me was getting it to work even when Messages.app wasn't started. Applescript is quite frustrating for someone who's never dealt with it before. This was on Mavericks though, not sure if that's still a problem on Yosemite. Does your version have problems with that?