Hacker News new | ask | show | jobs
by gcr 3455 days ago
Messages on the mac can be automated with applescript.

    tell application "Messages"
      send "This is an iMessage" to buddy "foo@bar.com" of (service 1 whose service type is iMessage)
      send "This is an SMS" to buddy "+1234567890" of service "SMS"
    end tell