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

10.4: Using AppleScript to control iChat's iTunes status Apps
Tiger only hintTo use applescript to set the iChat 3.0 status message to the "Current iTunes Track" setting you need to set it to the status message to the current format of the iTunesMessageFormat string.

So for the default format you would use:
tell application "iChat"
  set the status message to "%Track - %Artist"
end tell
and if you had changed the iTunesMessageFormat in the way described in this tip, then you need to use:
tell application "iChat"
  set the status message to "%Artist - %Track"
end tell
I've tested these two, but have not tested all the possible format alternatives. [robg adds: Yes, iTunes now includes the ability to do this automatically, but if you want to use an AppleScript (perhaps to toggle the status display based on time of day, location, etc., then this appears to be the way to do it...]
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[14,541 views]  

10.4: Using AppleScript to control iChat's iTunes status | 2 comments | Create New Account
Click here to return to the '10.4: Using AppleScript to control iChat's iTunes status' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Using AppleScript to control iChat's iTunes status
Authored by: DougAdams on Aug 18, '05 11:55:02AM

Note that despite what you see as your status message, your Buddies will only see the first 42 characters of your status message.

---
Doug's AppleScripts for iTunes
http://www.dougscripts.com/itunes/



[ Reply to This | # ]
10.4: Using AppleScript to control iChat's iTunes status
Authored by: cougar718 on Aug 18, '05 04:48:42PM
Hello there,

Author of iLLiance here. My application will do what this hint is all about. I found iChat's built in "Current song in iTunes" to be weak.

About the 42 chars limit. This is not true for those who are not using iChat. For example, when setting a status message length greater than 42 in iChat, AOL Instant Messenger on Windows sees the message in it's entirety. However, other users using iChat viewing my status message fail to see the complete message.

iChat is seriously screwed up in this regard.

---
Rick alias cougar

[ Reply to This | # ]