musicmusic: would it be possible to simplify expressions in some case, redesigning the interface, aka:
In Playlist Views/Globals/Style, I have this :
$if(%_isplaying%,000080,
$puts(p,G:\music\game\)
$if($stricmp($get(p),$left(%path%,$len($get(p)))),
$set_style(text,$rgb(64,128,128)),)
$puts(p,G:\music\cd\)
$if($stricmp($get(p),$left(%path%,$len($get(p)))),
$set_style(text,$rgb(0,100,0)),)
$puts(p,G:\music-gamemp3\step2\ost\)
$if($stricmp($get(p),$left(%path%,$len($get(p)))),
$set_style(text,$rgb(200,0,0)),)
$puts(p,G:\music-gamemp3\done\)
$if($stricmp($get(p),$left(%path%,$len($get(p)))),
$set_style(text,$rgb(255,127,0)),)
$puts(p,G:\music-gamemp3\step2\todo\)
$if($stricmp($get(p),$left(%path%,$len($get(p)))),
$set_style(text,$rgb(0,0,220)),)
$puts(p,G:\music-gamemp3\gamemp3\)
$if($stricmp($get(p),$left(%path%,$len($get(p)))),
$set_style(text,$rgb(128,0,128)),)
)
|
$if(%_isplaying%,FFFF00,FFFFFF)|
$puts(p,G:\music\game\)
$if($stricmp($get(p),$left(%path%,$len($get(p)))),
$set_style(back,$rgb(235,245,245)),)
$puts(p,G:\music\cd\)
$if($stricmp($get(p),$left(%path%,$len($get(p)))),
$set_style(back,$rgb(232,255,232)),)
$puts(p,G:\music-gamemp3\step2\ost\)
$if($stricmp($get(p),$left(%path%,$len($get(p)))),
$set_style(back,$rgb(255,244,244)),)
$puts(p,G:\music-gamemp3\done\)
$if($stricmp($get(p),$left(%path%,$len($get(p)))),
$set_style(back,$rgb(255,242,236)),)
$puts(p,G:\music-gamemp3\step2\todo\)
$if($stricmp($get(p),$left(%path%,$len($get(p)))),
$set_style(back,$rgb(242,255,255)),)
$puts(p,G:\music-gamemp3\gamemp3\)
$if($stricmp($get(p),$left(%path%,$len($get(p)))),
$set_style(back,$rgb(255,236,255)),)|
000000|
000000
As you can see, it's a little long, and very unreadable (and it will disappear as soon as I've ordered correctly my musics).
I think it would be more usefull to have an interface, which - using ascii art - would be like this :
Background color:
[part for script]
Selected background color:
[part for script]
...
etc
Note, that the script I pasted is an old one, perhaps it has changed in some ways.
(sigh, *hoping* for a script syntax highlighter)