Help - Search - Members - Calendar
Full Version: scroll taskbar title display
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Espique
Hi,

is there a plugin that will make Foobar's taskbar button scroll the title/info?

Sascha
kode54
Since the title bar is formatted from a global title script, you could write your own title rotation script, or search the forum to see if anyone else has done it already.
Stalwart
It's done already wink.gif

CODE

$puts(text,$if2(%title%,%_filename%)[ - by %artist%][ - from %album%] - %_foobar2000_version% - )
$puts(length,$len($get(text)))
// OR: $puts(length,40) to show a limited number of characters only
$right($get(text),$sub($get(length),$mod(%_time_elapsed_seconds%,$get(length))))
$left($get(text),$mod(%_time_elapsed_seconds%,$get(length)))

$right($get(text),$sub($get(length),$mod($mul(%_time_elapsed_seconds%,4),$get(length))))
$left($get(text),$mod($mul(%_time_elapsed_seconds%,4),$get(length)))
zcorpan
QUOTE(Stalwart @ Oct 8 2004, 02:09 PM)
It's done already wink.gif

*code*
*


That code works for me sometimes, but with some songs the caracters are all messed up (wrong order) unsure.gif Any way to fix this?
kode54
That code won't work for RTL characters.
zcorpan
Is there a way to make a code that supports RTL characters? This works perfectly in winamp.
Espique
hi,

thanks for the code. please excuse my ignorance (being a newb), but where do I put that code exactly?

thanks,
sascha
DijiDiji
http://www.hydrogenaudio.org/forums/index....topic=26639&hl=

The code goes in preferences --> display --> title formatting --> main window title.
Espique
Thanks. I tried it and it works. Can this be configured to scroll faster than like 1 character a second?

Sascha
kode54
It can be configured to scroll more than one character at a time, but not more often than every second.
Espique
QUOTE(kode54 @ Oct 17 2004, 02:45 PM)
It can be configured to scroll more than one character at a time, but not more often than every second.
*


ok. how?

thanks.
sascha (who has no idea about these things smile.gif
kode54
It would appear the above code block includes two sets of $right/$left. Keep the first or second pair only. You will want to keep the second if you plan to adjust the number of characters it jumps per second. See the 4 passed to both $mul() functions.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.