What "Service" does Messages use in OSX Lion (For Applescript)
Does anyone know what the service iMessages uses is called in iChat for applescript? I am using OSX 10.7.3 with Messages Beta installed.
I am trying to make an applescript whereby on an Event trigger my mac will send me a message to my phone to keep me updated, however applescript needs to know what "Service" Messages Beta uses in order to send the messages through iMessage. I have looked in the iChat dictionary within Applescript editor to try and find what the service is called but it isnt listed.
I have tried the following:
- iMessage
- Messages
- iChat
- iMessages
in the following code snippet:
set theBuddy to buddy "*****" of service "iMessage (this is the part where i am stuck)"
Whereby the variable "theBuddy" will be the contact that will be messaged, using the iMessage service. Unfortunately I cannot seem to find the name of the
service to tell the script to use it.
iMac, Mac OS X (10.7.3)