Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

slug420

macrumors regular
Original poster
Is there some sort of scripting language used by ichat for away messages (and more?!). I was doing a search and I found the following in an old thread which looks like the source for the "whats playing in itunes" status you can set by default:

Here it is:

on idle
_tell application \"itunes\"
__if player state is playing then
___set a to artist of current track
___if a is \"\" then
____set a to \"mysterious unknown music\"
___end if
__else
___set a to \"nothing\"
__end if
_end tell

_tell application \"iChat\"
__set status message to \"listening to \" & a
_end tell

_return 20
end idle
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.