according to your code
$if(%isplaying%,
$puts(progress,$muldiv(%playback_time_seconds%,$sub(%_width%,24),%length_seconds%))
$drawrect(10,85,$sub(%_width%,20),6,brushcolor-null pencolor-86-106-160),
)
$ifgreater($get(progress),
0,
$padding(9,85)$drawrect(3,2,$get(progress),2,brushcolor-130-160-240 pencolor-nulll),
)
which means
If foobar is playing
store variable "progress" as (playback time in seconds*the width-24) / Length in seconds
and draws a rectangle at (10,85) that is (width - 20) long by 6 tall outlined by the color 86-106-160
then it checks in the that variable "progress" is longer than 0 and adds padding (9,85) to a rectangle placed at (3,2) that is as wide as the "progress" variable updating each second (assuming this is in the // PerSecond section of the config) with a height of 2
You are missing the $panel() part of the config which draws a transparent box to your specs, and allows you to click on it to seek to different places. I recommend
$panel(SeekPanel,Seek Panel,10,85,$sub(%_width%,20),6)
That should be pasted under the // PerTrack portion of the config. probably near the end of it before the // PerSecond part. I took those coordinates from the first drawrect function
Great! That is exactly what I was looking for. It's great learning stuff.
Unfortunately, it still does not seem to be working. I can't tell that there is a transparent box anywhere. Being that it's transparent does, in fact, make it hard to see.
Here is my code in its entirety. Any suggestions???
// PerTrack
$imageabs($sub($div(%_width%,2),512),0,vista1\back1.png,)
//$imageabs2(40,40,,,,,2,2,$replace(%path%,%filename_ext%,)folder.jpg,)
$panel(SeekPanel,Seek Panel,10,85,$sub(%_width%,20),6)
// PerSecond
$drawrect(0,124,%_width%,10,brushcolor-244-244-244 pencolor-null)
$if(%isplaying%,
$puts(progress,$muldiv(%playback_time_seconds%,$sub(%_width%,24),%length_seconds%))
$drawrect(10,85,$sub(%_width%,20),6,brushcolor-null pencolor-86-106-160),)
$ifgreater($get(progress),0,$padding(9,85)$drawrect(3,2,$get(progress),2,brushcolor-130-160-240 pencolor-nulll),)
$if(%_isplaying%,
$font(calibri,13,bold glow-130-160-240 glowalpha-80,250-250-250)
$alignabs(0,6,%_width%,30,center,)%Title%
$alignabs(0,30,%_width%,20,center,)
$font(calibri,9,bold glow-130-160-240 glowalpha-80,250-250-250)%artist%
$alignabs(0,47,%_width%,20,center,)
$font(calibri,8,glow-180-180-180 glowalpha-50,220-220-220)from
$font(calibri,8,glow-130-160-240 glowalpha-60,180-220-250)"%album%"
$alignabs(0,64,%_width%,20,center,)
$font(Calibri,8,glow-180-180-180 glowalpha-50,220-220-220)
$if($strcmp(%play_count%,0),
Playing song for first time,
$if($strcmp(%play_count%,1),
Song played %play_count% time',' ,
Song played %play_count% times. Last )
$if($strcmp($left($right(%last_played%,10),1),1),Tuesday', ',)
$if($strcmp($left($right(%last_played%,10),1),2),Wednesday', ',)
$if($strcmp($left($right(%last_played%,10),1),3),Thursday', ',)
$if($strcmp($left($right(%last_played%,10),1),4),Friday', ',)
$if($strcmp($left($right(%last_played%,10),1),5),Saturday', ',)
$if($strcmp($left($right(%last_played%,10),1),6),Sunday', ',)
$if($strcmp($left($right(%last_played%,10),1),7),Monday', ',)
at $right($left(%last_played%,16),5))
$button2($sub(%_width%,16),8,0,0,10,13,
'$font(Calibri,8,glow-75-80-120 glowalpha-70,250-250-250)',
'$font(Calibri,8,glow-75-80-120 glowalpha-170,250-250-250)?',1 - Track info Mod,)
,
$imageabs($sub($div(%_width%,2),38),10,neo2\wmp1.png,)
)
Thank you so much for your help.