AppleScript for chat event

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
mikechambers
Harmless
Posts: 4
Joined: Thu Aug 14, 2008 5:31 pm

AppleScript for chat event

Post by mikechambers »

In the Events preferences, there is an option to run an AppleScript script when something happens.

I wold like to run an applescript event whenever a message in a group chat is received. Does anyone know how to then access the chat message in the applescrpt? Is there an AppleScript event for the chat?

i.e.

onchat()
--do stuff here
end onchat

i.e. what is the applescript event? how do I access the chat message?

Also, any pointers to the Adium AppleScript docs / tutorials? I have seen this:

http://trac.adiumx.com/wiki/AppleScript_Support_1.2

but it seems to be focused on external applications talking to Adium, and not on handling events.

Basically, I want Adium to send a Growl event whenever someone mentions my name in a group chat window.

Any help would be appreciated.

mike
mtimmsj
Frappa
Posts: 144
Joined: Wed Jun 08, 2005 6:55 pm
Location: Olympia, WA

Re: AppleScript for chat event

Post by mtimmsj »

This isn't possible at this point in time. The ability to do this has been talked about several times and there was some mention in one of the trac's about someone working on it. I'm not sure of the status though.
mikechambers
Harmless
Posts: 4
Joined: Thu Aug 14, 2008 5:31 pm

Re: AppleScript for chat event

Post by mikechambers »

ok. Thanks for the info.

The two use cases I have are to:

1. disable enter / leave notifications in group chat
2. send a growl alert when someone mentions my name (or some other term) in a group chat.

mike
mikechambers
Harmless
Posts: 4
Joined: Thu Aug 14, 2008 5:31 pm

Re: AppleScript for chat event

Post by mikechambers »

>send a growl alert when someone mentions my name (or some other term) in a group chat.

It looks like this is included in the latest beta.

mike
Post Reply