Trigger AppleScript when receiving specific message

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
fabiopigi
Harmless
Posts: 2
Joined: Sun Jan 06, 2008 3:46 pm

Trigger AppleScript when receiving specific message

Post by fabiopigi »

Hi

I'm building an App within Cocoa that should communicate with a computer over the internet.
What i want to do is, when my app sends an message via ICQ (or AIM or something else) to the remote computer which is running Adium, I want it to trigger an applescript.

The script should validate what the client sends.
I.e. if the message is "WEBCAMON" it should trigger a script A
when the message is "ALARMON" it should trigger a script B

Is there any good example on how this is done ?

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

Re: Trigger AppleScript when receiving specific message

Post by mtimmsj »

It can't be done with a script. A plugin maybe...
Post Reply