Hi all-
I’m attempting to write a handler for iChat similar to AIM’s. I think since there is no way to set an applescript to run when a message is received, it has to be running all the time and check for new messages in iChat, right? I haven’t written the code for this yet, and wanted to run it by the folks here. I think it would be something like this (not applescript code):
make sure iChat is running
repeat
check for new activity in iChat
set the content of any new message to a variable
do some action with that content
end repeat
Something like that in concept. Unless there’s a better way. I saw some “on idle” scripts out there, and I wonder if there’s something like “on new message” that I can’t find.
Thanks!