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


Click here to return to the 'Set iChat status by Network Location (revisited)' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Set iChat status by Network Location (revisited)
Authored by: jonbauman on May 14, '04 11:24:48AM

Here's a basic one to do that:


tell application "iTunes"
	set theName to name of current track
	set theArtist to artist of current track
	set theMinutes to player position div 60
	set theSeconds to player position mod 60
	
	tell application "iChat"
		set status message to theArtist & ": \"" & theName & "\" (" & theMinutes & ":" & theSeconds & ")"
	end tell
end tell
Writing the script that synchronizes iTunes based on the status message generated by this script is an exercise left to the reader.

---

jon

[ Reply to This | # ]