Scripting support for contact's status
Posted: Tue Mar 31, 2009 7:00 am
I'm trying to write a script checks the status of a contact. I've looked over the Applescript support document and found the following code to call all properties of a contact:
That successfully returns all properties of a contact but I can't for the life me me figure out how to just call it to return a user's status message. I would think it would be something similar to:
But that just throws an error. I know it's probably something dead simple so I would really appreciate it if someone could help me with this.
Thanks.
Code: Select all
tell application "Adium" to get properties of the first contact whose display name is "contactname"
Code: Select all
tell application "Adium" to get status message of the first contact whose display name is "contactname"
Thanks.