AppleScript to send new iMessage
Hey guys - I'm trying to create an apple script to send a new iMessage. But I'm stuck. Can anybody help?
tell application "System Events"
tell application "Messages" to activate
tell process "Messages"
click menu item "New Message" of menu "file" of menu bar 1
end tell
...
endtell
... and thats it. How Do I tell Messages to fill in an email adress or phone number now and to send it?
Thank you!
Mac Pro (Early 2008), OS X Mountain Lion (10.8.2)