added files for using imessage over terminal
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
on run {targetBuddyPhone, targetMessage}
|
||||
tell application "Messages"
|
||||
set targetService to 1st service whose service type = SMS
|
||||
set targetBuddy to buddy targetBuddyPhone of targetService
|
||||
send targetMessage to targetBuddy
|
||||
end tell
|
||||
end run
|
||||
Reference in New Issue
Block a user