Page 1 of 1

Event detail & AppleScript

Posted: Tue Feb 03, 2009 6:02 pm
by freewizard
Anyone knows how to get the exact contact when contact sign on/off happen by AppleScript?

Re: Event detail & AppleScript

Posted: Wed Feb 04, 2009 4:04 pm
by mtimmsj
Unfortunately when an event is posted, no data is passed to the AppleScript regarding the context of the event. There is this request to make it a reality but it hasn't been addressed yet:

http://trac.adiumx.com/ticket/11363

In addition Adium does not expose the login/logout time of contacts to AppleScript. I don't even see this information available in the GUI which means that it would be difficult to obtain the last contact to sign on/off in a round-about way to process and act on. So I just don't see a way to get what you want at this point in time.