Hacker News new | ask | show | jobs
by aktau 4236 days ago
Cool, I have something similar cobbled together: http://www.aktau.be/2014/02/12/send-imessages-via-the-comman...

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?

1 comments

That's pretty cool, I never bothered handling actually starting the Messages app because I was just running it in a VM and assumed it would always work on startup.

I don't use this anymore because I've ditched my iPhone.