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

Speak Script for iChat

01 02 11 - 15:09

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


No comments

  
Remember personal info?

Emoticons / Textile

Comment moderation is enabled on this site. This means that your comment will not be visible on this site until it has been approved by an editor.



Notify:
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.