Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: Automatically set iChat status when in A/V chats' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Automatically set iChat status when in A/V chats
Authored by: hintuser on May 18, '08 12:36:03PM

Here is an improved version of the scripts that will also show the participants name in the message status :

Script name: iChat invited video.scpt

using terms from application "iChat"

on received video invitation theText from theBuddy for theChat
set status to away
set firstname to (get first name of theBuddy)
set lastname to (get last name of theBuddy)
set status message to "Video Chat" & " with " & firstname & " " & lastname
end received video invitation

end using terms from


Script name: iChat invited audio.scpt

using terms from application "iChat"

on received audio invitation theText from theBuddy for theChat
set status to away
set firstname to (get first name of theBuddy)
set lastname to (get last name of theBuddy)
set status message to "Audio Chat" & " with " & firstname & " " & lastname
end received audio invitation

end using terms from

Script name: iChat started.scpt

using terms from application "iChat"
on av chat started
tell application "iChat"
set windowname to (get name of window 1)
end tell

set status to away
set status message to windowname
end av chat started
end using terms from



[ Reply to This | # ]