« Apple Mac Store HXRun… | Home | REAL Studio Developer… »

Speak Script for iChat

With using olark for chat on the website, I get a lot of chats. Now I used to have text invitations spoken by my Mac. But with every chat from my websites, I get a lot of text about the person asking. For example the URL the person is visiting and I don't like this to be spoken. So this script can be used for iChat to speak only chats from AIM or Bonjour, but not over Jabber:


using terms from application "iChat"

on received text invitation theText from theBuddy for theChat

set theService to service of theChat

set theType to service type of theService

if (theType = Jabber) then

-- do nothing

else

say theText

end if

end received text invitation

end using terms from

The biggest plugin in space...
01 02 11 - 15:09