Make Adium Read Aloud Certain Messages

Hello,

I was wondering if anyone had any ideas as to how to help me make Adium read aloud messages from certain individuals.

Below I found a way to do it with iChat and I have tried to port it to Adium, but I have not had any positive results.

What I would like to do is have any messages from “Person X” to be read aloud. I wanted to have the feature because if I was away from my computer I would hate to miss the ability to communicate with this person, because they are 12 hours ahead of me and it is hard to sometimes meet with them.

Here is the iChat applescript…

--using terms from application "iChat"
--on message received theText from theBuddy for theChat
-- if (theBuddy = "Person X") then
--  set theVoice to "Victoria"
-- else 
-- set theVoice to "Victoria"
-- end if
-- say theText using theVoice
-- end message received
--end using terms from

The port to Adium…

tell application "Adium"
	activate
end tell

tell application "Adium" to go online

Any help would be greatly appreciated.

Regards,
paulmattallen

Did you ever figure this out?