Permalink
Browse files

Added messages.applescript

  • Loading branch information...
1 parent 5d98e3f commit a7afff448f60f581f53c11898e8cb2d693d22afc @bboyairwreck committed May 3, 2016
Showing with 6 additions and 0 deletions.
  1. +6 −0 messages.applescript
View
@@ -0,0 +1,6 @@
+on run {msgText, targetPhoneNum}
+ tell application "Messages"
+ set serviceID to id of 1st service whose service type = iMessage
+ send msgText to buddy targetPhoneNum of service id serviceID
+ end tell
+end run

0 comments on commit a7afff4

Please sign in to comment.