FasdUAS 1.101.10 k l [U Tyler Clemons Creates iTunes data for Adium Based on Now Playing in Adium v1.0 by Adam Nolley and Now Playing in iChat AV v1.8.1 written by Doug Adams Use: /%_name {default} e.g. /%_name {Doing School Work} produces Doing School Work and listening to You Are The Pan By John Williams From Hook (Original Motion Picture Soundtrack).    Tyler Clemons Creates iTunes data for Adium Based on Now Playing in Adium v1.0 by Adam Nolley and Now Playing in iChat AV v1.8.1 written by Doug Adams Use: /%_name {default} e.g. /%_name {Doing School Work} produces Doing School Work and listening to You Are The Pan By John Williams From Hook (Original Motion Picture Soundtrack).  l  l  variables variables   j 0default mReading  j 0 curr_track m  null j 0 curr_artist m  null j  0 curr_name m  null j ! 0 current_msg !m ""## $% $p&& 0 mymessage myMessage%'( 'l()* )l*+, +l,-. -l./0 /l012 1i34 3I5 0 substitute56 6o 0param1 4k7789 8l:; :grab iTunes handles;<<&grab iTunes handles9=> =r?@ ?o 0param1 @o 0default>AB AOCD Cr EF El G GI H .corecnte******** Hl I I6 JK J2   pcap KlL L=MN M1  pnam NmOOPP iTunes Fo 0itunesiTunes Dm QQsevsalis Macintosh HDA H+qaSystem Events.appr}7 CoreServicesAZ[8'7 qaq`q`:Macintosh HD:System:Library:CoreServices:System Events.app$System Events.app Macintosh HD-System/Library/CoreServices/System Events.app/BRS Rl TU Tif iTunes is openUVV"if iTunes is openSWX WZ YZ[ Y? #\] \o ! 0itunesiTunes ]m!" Zk&^^^_` _O&\ab aZ*[cde c=*/fg f1*-  pPlS gm-.  ePlSkPSP dl2/hij hk2/kklm ll22no n;5check if the current track has already been displayedoppjcheck if the current track has already been displayedmqr ql22st sA;if the current message has the selected track, don't updatetuuvif the current message has the selected track, don't updatervw vr27xy x125  pTrk yo 0newtracknewTrackwz{ zZ8|} |G8[~ ~>8? o89 0newtracknewTrack o9> 0 curr_track lBY GBY >BK oBG 0 curr_name nGJ 1HJ  pnam oGH 0newtracknewTrack >NW oNS 0 curr_artist nSV 1TV  pArt oST 0newtracknewTrack }k^ s^f o^_ 0newtracknewTrack o 0 curr_track rg Jgl mgh  mhi  mij  J o 0 curr_name o 0 curr_artist o 0 the_album{ l *$grab the data from the current trackHgrab the data from the current track O/ k. Q Z > 1  pArt m r b b mBy 1  pArt m o 0 curr_artist r m*By an unknown artist o 0 curr_artist R .ascrerr ******** Q Z > 1  pAlb m r b b m From 1  pAlb m. o 0 the_album r m&From unknown album. o 0 the_album R .ascrerr ******** Q. Z% > 1  pnam m r b b m "and listening to 1   pnam m o 0 curr_name r% mDand listening to an unknown song o 0 curr_name R .ascrerr ******** o 0 curr_track i check if iTunes is playingj4check if iTunes is playing ek2[ l22 '!iTunes is not playing but is openBiTunes is not playing but is open r2[ J2= m25    m58        m8;  J o 0 curr_name o 0 curr_artist o 0 the_album bm&'hookalisL Macintosh HDA H+qa# iTunes.appTĚ ApplicationsAZ[Ěqa#$Macintosh HD:Applications:iTunes.app iTunes.app Macintosh HDApplications/iTunes.app/` l]] [ka laa iTunes is closed iTunes is closed ra Jal!!"# "mad$$%% #&' &mdg(()) '* *mgj++,,   J--./ .o 0 curr_name/01 0o 0 curr_artist12 2o  0 the_albumX34 3l~}|~}|456 5r78 7l9{z 9b:; :b<= <b>? >oy y 0default ?ox x 0 curr_name =ow w0 curr_artist ;ov v 0 the_album{z 8ou u0 mymessage myMessage6@t @LA Aos s0 mymessage myMessaget2BC BlrqprqpCDE DlonmonmEFG FllkjlkjGHI HlihgihgIJf JledcedcfbKa`_"LbK^]\[ZY ^ 0default ]0 curr_track \0 curr_artist [ 0 curr_name Z0 current_msg Y0 substitute a null ` null _ nullLX4WVMNU X0 substituteWTOTOS S 0param1VMRQPO R 0param1 Q0itunesiTunes P0newtracknewTrack O 0 the_albumN&QNPMOLKJIHGFEDC $(+B N pcapP M pnam L.corecnte******** K pPlS J ePlSkPSP I pTrk H pArt G bool F cobjED C pAlb B0 mymessage myMessageUEcO*-[,\Z81j EUOj=3*,*,EOb b, b,&&1EQcOmvE[k/EcZ[l/EcZ[m/EZYhOb,*,aa*,%a%EcY aEcWXhO(*a,aa*a,%a%EYaEWXhO,*,aa*,%a%EcY aEcWXhUY+aa a!mvE[k/EcZ[l/EcZ[m/EZUOPY+a"a#a$mvE[k/EcZ[l/EcZ[m/EZObb%b%%E`%O_%ascr ޭ