Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Send SMS from iMessage
- 1) find the service id for SMS messages (1st is iMesssage, 2nd is SMS)
- tell application "Messages"
- get services
- end tell
- 2) create send SMS script (existing conversation must exist in messages)
- tell application "Messages"
- set serviceID to "service id from step #1"
- send "Test Message" to buddy "+14125551212" of service id serviceID
- end tell
- 3) save & test from command line
- osascript SendSMSMessage.applescript
Add Comment
Please, Sign In to add comment