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

1macker1

macrumors 65816
Oct 9, 2003
1,375
0
A Higher Level
I've read the page, and I still dont get the point of this program. And going on how the guy is talking on the page, it doesn't sound like a good idea to load this hack.
 

Mudbug

Administrator emeritus
Jun 28, 2002
3,849
1
North Central Colorado
it's a simple program that inserts the current playing song name from iTunes into the availability line in iChat so others can see what you're listening to. But I agree, he's a little overzealous with the "use at your own risk" talk.
 

SilvorX

macrumors 68000
May 24, 2002
1,701
0
'Toba, Canada
it hasn't been updated for ages, it doesnt start up when i log in or start up my computer, it only starts up when I manually change settings in system preferences, every time I want to use it
 

ezkimo

macrumors regular
Sep 12, 2002
216
0
I made an applescript that does this about 5 months ago...really a very easy thing to achieve...mine says the song, the artist and percent of song played..
 

SilvorX

macrumors 68000
May 24, 2002
1,701
0
'Toba, Canada
Originally posted by 1macker1
Do this program work with panther, i thought it said for 10.2 only.
ya it does, but you have to go to system prefs and turn it on each time you want to use it
 

King Cobra

macrumors 603
Mar 2, 2002
5,403
0
Wow. A lot of negative reviews.

First, iChatStatus is an enhancement to iChat. If you use iChat and iTunes, your "Available" status in iChat will change to adjust to the song you're playing in iTunes. If you pause a song in iTunes, your iChat "Available" status will show that. In effect, if your buddies are also using iChat, they will be able to see what song you are playing in iTunes.

Second, to those complaining about having to turn it on manually every time you start up your computer, go into your System Preferences > iChatStatus ... there is a second checkbox titled "Automatically Start on Login." First make sure you activate the Status Setter (and keep it active), then hit that second checkbox. Now, every time you start up your computer, open up iTunes and iChat, iChatStatus will run automatically. (At least it should.)

Also, iChatStatus can be used to show the song you're playing in iTunes when you're away, as well. There is an option for that in the iChatStatus Preference Pane.

Finally, this program is well over a couple of months old, and it works fairly well.
 

ezkimo

macrumors regular
Sep 12, 2002
216
0
could you share the script?

Sure...

I am new to applescript so there are a few issues:
•It does not work with iTMS. Quit it before playing an iTMS clip, or play the clip and click through the error once you start a song in your library.
•Its picky about itunes and ichat both being open when it is. So quit it before quitting the others.
•Sometimes random errors pop up that you can just 'Ok' through.
•The percent played aspect stutters for the other people sometimes, others not.

All you have to do is launch it.
It weighs in at around 108 KB (~1/3 the size of the preferences pane one).
Its easy to customize. I can post the actual script if you like.

-Zach

edit: changed the attachment
 

Attachments

  • bruce.app.zip
    44.8 KB · Views: 116

iPanos

macrumors newbie
Mar 16, 2004
2
0
Hi there,
Sorry to bring this post on top again, after some while...
Having not too much knowledge about AppleScript, i tried to make a script doing a combination of things for iChatStatus.
The problem is that the script does not follow the entire circle, but after about 7 steps it would start a loop of the last 4 steps with no obvious reason.
It is quite long as i wanted to make its circle of about 2 minutes for 5 second intervals and i have included the proper circle as it should be at the end of the script inside (* ... *).
Hope someone could help with this, as my knowledge in applescript is very limited and empirical...
Of course everybody shall fell free to use it after it starts working...
Thanks in advance!
 

Attachments

  • iPanos.scpt.zip
    11.3 KB · Views: 104

jsw

Moderator emeritus
Mar 16, 2004
22,910
44
Andover, MA
iPanos said:
Hi there,
Sorry to bring this post on top again, after some while...
Having not too much knowledge about AppleScript, i tried to make a script doing a combination of things for iChatStatus.
The problem is that the script does not follow the entire circle, but after about 7 steps it would start a loop of the last 4 steps with no obvious reason.
It is quite long as i wanted to make its circle of about 2 minutes for 5 second intervals and i have included the proper circle as it should be at the end of the script inside (* ... *).
Hope someone could help with this, as my knowledge in applescript is very limited and empirical...
Of course everybody shall fell free to use it after it starts working...
Thanks in advance!

Quick hack, but try this (just made it a list, didn't optimize or comment well - I'll email it to you so you don't lose the indents...):
property currentInfo : ""
property currentLine : 0

set lineList to {¬
"some text goes here 1", ¬
"some text goes here 2", ¬
"some text goes here 3", ¬
"*******************", ¬
"--CURRENT TIME--", ¬
"some text goes here 4", ¬
"*******************", ¬
"? https://www.macrumors.com ?", ¬
"some text goes here 5", ¬
"? Join & Enjoy! ?", ¬
"*******************", ¬
"some text goes here 6", ¬
"*******************", ¬
"--EMAIL COUNT--", ¬
"--NEW EMAIL COUNT--", ¬
"--SCREENSAVER/APP INFO--", ¬
"--SAFARI INFO--", ¬
"--ITUNES INFO--", ¬
"*******************", ¬
"My number: 000000000000000", ¬
"eMail: blablabla@blablabla.com", ¬
"Check: www.blablabla.com", ¬
"*******************", ¬
"*******************", ¬
"--MORE ITUNES INFO--"}

tell application "System Events"
if (count) is greater than 0 then

(* Cycle through lines *)
if (currentLine is greater than 24) then
set currentLine to 1
else
set currentLine to currentLine + 1
end if

set currentInfo to item currentLine of my lineList

if (currentLine is equal to 5) then
set the_date to current date
set secs to time of the_date
set the_time to do shell script "date \"+%R\""
set currTime to "The time is " & the_time
set currentInfo to currTime
else if (currentLine is equal to 14) then
tell application "Mail"
set total to count of messages of every mailbox
if total = 0 then
set mailTotal to "I have no emails in my mailboxes"
else
set mailTotal to "I have " & total & " emails in my mailboxes"
"I have " & total & " mail"
end if
end tell
set currentInfo to mailTotal
else if (currentLine is equal to 15) then
tell application "Mail"
set olasta to unread count of every mailbox
set total to 0
repeat with each in olasta
set total to total + each
end repeat

if total = 0 then
set mailNew to "And I've read all my mail!"
else
set mailNew to "" & total & " of which unread..."
end if
end tell
set currentInfo to mailNew
else if (currentLine is equal to 16) then
tell application "System Events"
set appName to name of item 1 of (application processes whose frontmost is true)
if appName is "ScreenSaverEngine" then
set activeApp to "Screen Saver is on :)"
else
set activeApp to "I'm working with " & appName & " now ;-) ..."
end if
end tell
set currentInfo to activeApp
else if (currentLine is equal to 17) then
if ((application processes whose (name is equal to "Safari")) count) is greater than 0 then
tell application "Safari"
if (count of windows) is greater than 0 then
set Sfri to "Safari is at " & name of front window
else
set Sfri to "Safari is not curently in use"
end if
end tell
else
set Sfri to "Safari is currently Off"
end if
set currentInfo to Sfri
else if (currentLine is equal to 18) then
if ((application processes whose (name is equal to "iTunes")) count) is greater than 0 then
tell application "iTunes"
if player state is playing then
set iTunesStatus to name of current track
else if player state is paused then
set iTunesStatus to "iTunes is Paused"
else if player state is stopped then
set iTunesStatus to "iTunes is Stopped"
end if
end tell
else
set iTunesStatus to "iTunes is Off"
end if
set currentInfo to iTunesStatus
else if (currentLine is equal to 25) then
if ((application processes whose (name is equal to "iTunes")) count) is greater than 0 then
tell application "iTunes"
if player state is playing then
set the_artist to artist of current track
set the_song to name of current track
if the_artist is not missing value then
set iTunesInfo to "On iTunes: " & the_song & " - " & the_artist
else
set iTunesInfo to the_song
end if
else if player state is paused then
set iTunesInfo to "iTunes is Paused"
else if player state is stopped then
set iTunesInfo to "iTunes is Stopped"
end if
end tell
else
set iTunesInfo to "iTunes is Off"
end if
set currentInfo to iTunesInfo
end if

return currentInfo
end if
end tell
 

jsw

Moderator emeritus
Mar 16, 2004
22,910
44
Andover, MA
iPanos said:
Hi there,
Sorry to bring this post on top again, after some while...
Having not too much knowledge about AppleScript, i tried to make a script doing a combination of things for iChatStatus.
The problem is that the script does not follow the entire circle, but after about 7 steps it would start a loop of the last 4 steps with no obvious reason.
It is quite long as i wanted to make its circle of about 2 minutes for 5 second intervals and i have included the proper circle as it should be at the end of the script inside (* ... *).
Hope someone could help with this, as my knowledge in applescript is very limited and empirical...
Of course everybody shall fell free to use it after it starts working...
Thanks in advance!

Sorry about how god-awful the script looks above - I tried to email you, but couldn't. BTW, I just replaced some of your "some text goes here xx" lines with the formatted stuff, though of course you could just alter list indices and insert your stuff anywhere.

I don't consider this to be the best solution, just a quick hint at how to use lists; I didn't rewrite much of anything. Hope it helps.
 

iPanos

macrumors newbie
Mar 16, 2004
2
0
Thank you...

Thanks a lot jsw, this works fine plus i am now aware of the lists.
Just a little matter, would you like to explain how often do you use "else if" when making the cirle of the lines? for example how do you know it has to be when the currentLine is greater than 24 or 14 or 5?
And i think the only problem is, it does not return the total number of emails.
Any idea about that?
thanks again!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.