Xojo Conferences

« 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


say theText

end if

end received text invitation

end using terms from

01 02 11 - 15:09
No comments

Remember personal info?

Emoticons / Textile

Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.