I'm trying to get iChat's status via AppleScript and the following code works when I'm available, but it returns empty if I go away:
Am I just simply overlooking something obvious? All I want to do is get the status for away and available.
Code:
tell application "iChat"
display dialog (status message) as string
end tell