Switch to the dark side!
foobar2000

foobar2000

Latest Discussion
1 year ago
1 year ago
1 year ago
More...

Post a new topic



Foobar - widths, heights and coordinates

2450
Frankenstein says:

I'm currently working on a new Foobar setup and have hit a wall... again. I can figure out this coding very easily.

What I want to do is refer to or get another elements height, width and/or current coordinates in order to relatively position other elements around it or crop sections away from it, for example. Can this be done?

Something like...

$image(max-width,max-height,.... etc)

$panel2($get(exact width of image),$get(exact height of image),$get(exact x of image,.... etc)

05:57 pm, Wednesday, September 12, 2007 (2 years ago)
2450
Frankenstein says:

bumped

Please help me out

11:54 am (2 years ago)
1429
uac marine says:

I don't know the answer to your questions, but I do know a good tutorial about scripting in foobar. Maybe you can find what you need there ;-)

http://tagz.brother-john.net/

12:45 pm (2 years ago)
2450
Frankenstein says:

Thanks for link uac marine. I will check it out and see if it helps :D

01:01 pm (2 years ago)
4500
TheProfessor says:

Sorry but that link won't help you seeing as its for ColumnsUI and your code is for PanelsUI.

Are you trying to have the images resize based on the resizing of your foobar?
My code has this but its based on rows in a playlist. You can have a look at one of FofR's ealier releases because they are easier to read through than his latest one.
Get that here
http://www.fooblog2000.com/category/config/config-fofr

You can also have a look here for more help

http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Com
ponents_0.9/Panels_UI_%28foo_ui_panels%29

02:04 pm (2 years ago)
2450
Frankenstein says:

OMG that Foobar setup is like a whole new program!

That was what I was looking for. Thanks Prof ;D

06:15 am (2 years ago)
 
   Arrow_up_small Top

Reply to this topic

You must register and become a member to post a reply.