Advertisement
Guest User

Untitled

a guest
May 23rd, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. import os
  2.  
  3. cmd = """osascript<<END
  4.  
  5. tell application "Messages"
  6.  
  7. send "TEXT" to buddy "VALID E-MAIL OR PHONE #" of (service 1 whose service type is iMessage)
  8.  
  9. end tell
  10.  
  11. END"""
  12.  
  13. def send_Message():
  14.  
  15. os.system(cmd)
  16.  
  17. send_Message()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement