QUOTE
// PerTrack
$ifequal($getpvar(ShowFull),1,
$button($div($sub(%_width%,-152),2), $sub(%_height%,23), 0, 0, 25, 25,C:\Program Files\foobar2000\images\buttonsmilk\7view.png,C:\Program Files\foobar2000\images\buttonsmilk\7view_hot.png,'WINDOWSIZE:350:700:LEFT:TOP',)
$setpvar(ShowFull,0)
,
$button($div($sub(%_width%,-152),2), $sub(%_height%,23), 0, 0, 25, 25,C:\Program Files\foobar2000\images\buttonsmilk\7view.png,C:\Program Files\foobar2000\images\buttonsmilk\7view_hot.png,'WINDOWSIZE:350:408:LEFT:TOP',)
$setpvar(ShowFull,1)
)
$ifequal($getpvar(ShowFull),1,
$button($div($sub(%_width%,-152),2), $sub(%_height%,23), 0, 0, 25, 25,C:\Program Files\foobar2000\images\buttonsmilk\7view.png,C:\Program Files\foobar2000\images\buttonsmilk\7view_hot.png,'WINDOWSIZE:350:700:LEFT:TOP',)
$setpvar(ShowFull,0)
,
$button($div($sub(%_width%,-152),2), $sub(%_height%,23), 0, 0, 25, 25,C:\Program Files\foobar2000\images\buttonsmilk\7view.png,C:\Program Files\foobar2000\images\buttonsmilk\7view_hot.png,'WINDOWSIZE:350:408:LEFT:TOP',)
$setpvar(ShowFull,1)
)
The button only works twice. For example, I will play a song, hit the button, and it will resize the window. Hit it again, and it goes back to the previous side. After that, nothing. I have to switch track for the button to work again. Is there any way to have it work all the time? I tried putting it in Global, Background, PerSecond, nothing seems to work. Appreciate the help
