Page 1 of 1

Trigger AppleScript when receiving specific message

Posted: Tue Jan 26, 2010 12:19 pm
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 :)

Re: Trigger AppleScript when receiving specific message

Posted: Tue Jan 26, 2010 9:14 pm
by mtimmsj
It can't be done with a script. A plugin maybe...