Sheri, thanks for taking the time to do it but does it work for you when a song 
isn't playing?

I found out that if a track is playing, there isn't any error and the label is 
shown but when it reaches the end and stops, the same error I posted earlier 
pops-up and crashes PowerPro.
Also, the com.unload isn't unloading because I still need to kill PowerPro 
manually.

Yesterday, after following your suggestions, I got the same results as your 
script with the exception that when PowerPro crashed it ended it's process.

Here's what I was trying:

------------------------------------
static iTunesApp = com.create_object("iTunes.Application")
static Tstr = iTunesApp.CurrentTrack.Artist ++ " - " ++ 
iTunesApp.CurrentTrack.Name

; win.debug(iTunesApp.CurrentTrack.Artist ++ "-" ++ iTunesApp.CurrentTrack.Name)

com.release(iTunesApp)
com.unload
quit(Tstr)

Reply via email to