Posted by member 212670 on 2008-02-21 10:45:47 link
Try using something like...
Note the surrounding %[...]% syntax.
If you want to share the evar with some other function, instead try !ParseEvars !SetEvar yourlabelImage "%[...}%" and then you can use $yourlabelImage$ (or %#...%# depending) for the value.
(edited because I misunderstood something you wanted. :P)
!ParseEvars !LabelRefresh yourlabel yourlabelImage "%[beforeLast(firstLine('$themedir$whatsplaying.txt'),'')]%\folder.jpg"
Note the surrounding %[...]% syntax.
If you want to share the evar with some other function, instead try !ParseEvars !SetEvar yourlabelImage "%[...}%" and then you can use $yourlabelImage$ (or %#...%# depending) for the value.
(edited because I misunderstood something you wanted. :P)