Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Scrolling With foo_osd (GDI+) (Read 892 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Scrolling With foo_osd (GDI+)

okay so i'm trying to scroll the whole title in a small 20char space, the title needs to loop in its entirety but only 20 characters can be displayed at a time, this is what i have so far:

Code: [Select]
$if($meta(album artist),
  $puts(windowtitle,%title%        )
        ,
 $puts(windowtitle,%title% )
 )
$puts(time,%_time_elapsed_seconds%)
$substr($cut($get(windowtitle),20),$mod($get(time),$add($len($cut($get(windowtitle),20)),$get(windowtitle)+2)),$len($get(windowtitle)))
//$repeat($get(windowtitle),0)
$cut($get(windowtitle)
,20)
 )

obviously this ain't working out for me, please help guys/gurls!