// Change this to the path of the myitunes folder, wherever you've put it $puts(path,'C:\foobar\myitunes\') // // $imageabs2(%_width%,%_height%,0,0,0,0,0,0,$get(path)display.png,nokeepaspectratio) $button(179,38,0,0,16,16,$get(path)mute.png,$get(path)mute.png,Volume Mute,) $imageabs2(81,10,0,0,0,0,194,40,$get(path)volume.png,) $imageabs2(20,16,0,0,0,0,277,37,$get(path)full.png,) $panel(Volume,Volume Panel,195,40,79,10,) $panel(Quicksearch,Quick Search Toolbar,$eval(%_width%-200),$eval(%_height%/2),180,20,) $button(20,27,0,0,35,39,$get(path)prev.png,$get(path)prev.png,Previous,) $button(136,27,0,0,35,39,$get(path)next.png,$get(path)next.png,Next,) $button(95,24,0,0,41,44,$get(path)pause.png,$get(path)pause.png,Pause,) $button(55,24,0,0,41,44,$get(path)Play.png,$get(path)Play.png,Play,) $button($eval(%_width%/4-10),$eval(%_height%/2+3),0,0,12,13,$get(path)visual.png,$get(path)visual.png,PVAR:SET:visualizer:$ifequal($getpvar(visualizer),1,0,1),TOOLTIP:"Switch to spectrum") $panel(Menu,Menu,0,0,280,20,) // PerSecond // // You also need to change the location of slider.png, as for some reason it can't use variables with PerSecond functions // $imageabs2(12,13,0,0,0,0,$eval(192+{75*%panel_volume%/1000}),39,C:\foobar\myitunes\slider.png,) $puts(track,$eval({%_width%/3}*%playback_time_seconds%/%length_seconds%)) $ifequal($getpvar(visualizer),1, $panel(Visualizer,Channel spectrum panel,$eval(%_width%/3),$eval(%_height%/3),$eval(%_width%/3),40,) , $panel(Seekbar,Seek Panel,$eval(%_width%/3),$eval(5*%_height%/7),$eval(%_width%/3),8,) $alignabs($eval(%_width%/3),26,$eval(%_width%/3),60,center,top) $font(Microsoft Sans Serif,8,,0-0-0)[%title%]$char(10) $ifequal($mod($eval(%playback_time_seconds%/10),2,),1,[%artist%],[%album%]) $font(Microsoft Sans Serif,7,,0-0-0) $alignabs($eval(%_width%/3-35),$eval(5*%_height%/7-2),30,20,right,top)[%playback_time%] $alignabs($eval(2*%_width%/3+5),$eval(5*%_height%/7-2),30,20,left,top)[%playback_time_remaining%] $imageabs2($eval(%_width%/3),8,$eval({%_width%/3}-{{%_width%/3}*%playback_time_seconds%/%length_seconds%}),0,0,0,$eval(%_width%/3),$eval(5*%_height%/7),C:\foobar\iTunes\bar.png,nokeepaspectratio) $drawrect($eval(%_width%/3),$eval(5*%_height%/7),$eval(%_width%/3),8,brushcolor-null pencolor-0-0-0) )