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: On-Screen Display Format Like Synergy for OSX (Read 4401 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

On-Screen Display Format Like Synergy for OSX

Its a little dirty but it seems to do a good job:

Quote
$puts(timelength, $len(%_length%))
$puts(titlelength, $len(%title%))
$puts(firstlinelength, $add($get(titlelength), $get(timelength), 1))
$puts(albumlength, $sub($len(%album%)), 0)
$puts(artistlength, $len(%artist%))
$puts(maxlength, $max($get(artistlength),$get(albumlength), $get(firstlinelength)))
$puts(linelength, $add(3, $get(maxlength)))
$puts(linelength2,  $sub($get(linelength), $div($get(linelength), 9)))
$ifgreater($get(linelength), 20, $puts(linelength3, $get(linelength2)), $puts(linelength3, $get(linelength)))
FFFFFF[%title%  -  %_length%]
$char(10)FFFFFF$repeat($char(8211), $get(linelength3))
[$char(10)FFFFFF%album%]
[$char(10)FFFFFF%artist%]


screenshot

If anybody wants to clean it up, and get the divider bar to always be sized correctly, let me know. 

I used these settings:
auto pop-up, white on black, aligned left for window and text, anti-aliasing, background transparency at position 6/10.

For some reason volume popup just shows a white window, its quite annoying, but I rarely change the volume in software so its not really an issue.

On-Screen Display Format Like Synergy for OSX

Reply #1
how did u get foobar to look like this? is this a windows pc?
Fire always makes it better - the Offspring

On-Screen Display Format Like Synergy for OSX

Reply #2
it's that 'brushed aqua' (or something like that) skin / theme for winxp or windowblinds ...

On-Screen Display Format Like Synergy for OSX

Reply #3
yeah, windowblinds and iskin 

On-Screen Display Format Like Synergy for OSX

Reply #4
You shouldn't use spaces after commas when writing title formatting strings.

On-Screen Display Format Like Synergy for OSX

Reply #5
Quote
You shouldn't use spaces after commas when writing title formatting strings.

why's that?

On-Screen Display Format Like Synergy for OSX

Reply #6
Because that's the way TAGZ formatting is. You shouldn't use spaces unless you want to display them. (I think) they don't interfere with this formatting because they're only used in front of numbers etc.

On-Screen Display Format Like Synergy for OSX

Reply #7
what font are you using?

On-Screen Display Format Like Synergy for OSX

Reply #8
Tahoma Bold 18 - its the default i think

On-Screen Display Format Like Synergy for OSX

Reply #9
Quote
If anybody wants to clean it up, and get the divider bar to always be sized correctly, let me know.


do it yourself.

You can see how to do it in my current update of the gems-style. Take a look at the end of the systray string. Basically, what i'm doing is to get the sizes of all displayed lines, choose the longest one, and then pad a seperator-character with the same length (adding a modificator for fine-tuning).

http://pelit.koillismaa.fi/fb2k/strings.php?f=47

- Lyx
I am arrogant and I can afford it because I deliver.

 

On-Screen Display Format Like Synergy for OSX

Reply #10
uh yeah, i do exactly the same thing if you look at my string.  I find the biggest line, then add a padder.  its really a pain in the arse for non fixed-width fonts, but it seems to be okay now.

 
SimplePortal 1.0.0 RC1 © 2008-2021