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


Click here to return to the 'iTunes and Yahoo! Messenger status' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
iTunes and Yahoo! Messenger status
Authored by: mlibbey on Feb 22, '04 03:38:36PM
Here's the applescript for Yahoo! Messenger to get the iTunes status message:


repeat
	set the theTime to (the (current date) + 60)
	repeat until the (current date) is greater than theTime
		delay 60
	end repeat
	try
		tell application "iTunes"
			set theSong to (artist of current track) & "-" & (name of current track)
		end tell
	on error
		set theSong to "(no song playing)"
	end try
	
	try
		tell application "Yahoo! Messenger"
			SetStatus 2 with "iTunes:" & theSong -- & return
		end tell
	end try
end repeat
There is a bug that I can't figure out -- this makes you appear 'busy' as well -- I don't know how to unset the busy flag. I tried using the 'on idle' version posted, but couldn't get it to work.

[ Reply to This | # ]
iTunes and Yahoo! Messenger status
Authored by: rmccrae on Aug 03, '04 05:55:28PM

I found that if you replace the line
SetStatus 2 with "iTunes:" & theSong -- & return
with
SetStatus 99 with "iTunes:" & theSong -- & return
it displays the status without the busy icon showing.



[ Reply to This | # ]
iTunes and Yahoo! Messenger status
Authored by: osxgnuorggurl22 on Apr 29, '05 05:26:52PM

Okay, how do I use this?



[ Reply to This | # ]