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: foo_ui_panels (Read 1317529 times) previous topic - next topic
0 Members and 8 Guests are viewing this topic.

foo_ui_panels

Reply #2675
You should add ../ or /../ (depends on what paths you have) to the front of the path to the image (../ means to go back one folder from the place you currently are)

foo_ui_panels

Reply #2676
@carbeck
Do you have enabled the windows option to restore the windows on every startup?
Check your folder options!

Bye

...
Alright, the skin is here, I haven't changed it, but it happens with any skin as it seems, not only Lasse's. So it seems to be a somewhat more general problem of how my computer handles Panels UI. As I said, I use the same configuration of Foobar on another PC, and there it works flawlessly.

foo_ui_panels

Reply #2677
My skin often starts in the upper left corner even if I closed it in the upper right corner.
What can I do to start it always in the upper right corner?
Are there some sort of x/y start parameters?
Thanks!

foo_ui_panels

Reply #2678
@carbeck
Do you have enabled the windows option to restore the windows on every startup?
Check your folder options!

Do you mean "Vorherige Ordnerfenster bei der Anmeldung wiederherstellen" (uh ... might be something like Restore previous folder windows at login)? In this case, no, it's unchecked.

foo_ui_panels

Reply #2679
@carbeck

Yes, I meant that!

But I have no further ideas

foo_ui_panels

Reply #2680
how can i get to know the width and height of an image?


foo_ui_panels

Reply #2682
not possible, what is your need exactly ?


I want to resize backround images while keeping their original aspect ratio and this works fine when i enter this:

$imageabs(0,0,/images\backgrounds\$getpvar(bg).jpg,resize,%_width%,%_height%)

But i want the image to fill in the whole window and crop the edges which don't fit in. Let's say, I have a portrait window and a landscape backround image, so the image should be resized vertically to the height of the window and horizontally enlarged to keep it's original aspect ratio, which means that the width of the picture will be larger than the width of the window. Because I want to position it centered, the left and right edges get cropped.

I hope I explained well and you can understand.

foo_ui_panels

Reply #2683
As far as I know, Not possible. You can't crop image according to there size because there's no way to get the image size.

foo_ui_panels

Reply #2684
If it is only the one image (and that image doesn't get replaced or anything like that) you can just put the width and height of the image in manually, and use the $eval() function to do what you want. But like the others have said, there is no way to get the size of the image from panels UI itself.
Song List: keikoniumboards.ke.funpic.org/files/songlist.html

 

foo_ui_panels

Reply #2685
My skin often starts in the upper left corner even if I closed it in the upper right corner.
What can I do to start it always in the upper right corner?
Are there some sort of x/y start parameters?
Thanks!


Does someone have a solution for this?

foo_ui_panels

Reply #2686
I upgraded to foobar 0.9.5 and the "Prev/Next Playlist" commands are no longer updating the playlist pane. The playlist pane only updates to the new playlist if I doubleclick on a track after sending the "next playlist" command.

Short of downgrading/not using panelsui is there anything I can do to fix this?

edit: nevermind

foo_ui_panels

Reply #2687
Hi

I've got some problem with $textbutton() function. I want to make a button that display search matches for %artist% %album% querry on cover-paradies site. Code looks like this:
Code: [Select]
    $textbutton($get(art.active.anchor.x),$get(art.active.anchor.y),
        $get(art.active.width),$get(art.active.height),
        ,,
        EXEC:'http://cover-paradies.to/?Module=ExtendedSearch&SearchString='$replace($replace(%artist%[ %album%], ,+),',´),
        tooltip,Get covers from Cover Paradies
    )


And there's where the problem appears. When in querry asterisk --> ' <-- appears there's no results (i.e Pink I'm not dead). But when i switch asterisk to other character --> ´ <-- that appears on CP site results shows up. So I've tried to replace every ' char to ´ char. But it seems that PanelsUI do not allow to use asterisk sign as function parameter. Is there any way to use asterisk as a string?

Please from below, thx from above :]
wolność dla dawxxx666

foo_ui_panels

Reply #2688
Hi

I've got some problem with $textbutton() function. I want to make a button that display search matches for %artist% %album% querry on cover-paradies site. Code looks like this:
Code: [Select]
    $textbutton($get(art.active.anchor.x),$get(art.active.anchor.y),
        $get(art.active.width),$get(art.active.height),
        ,,
        EXEC:'http://cover-paradies.to/?Module=ExtendedSearch&SearchString='$replace($replace(%artist%[ %album%], ,+),',´),
        tooltip,Get covers from Cover Paradies
    )


And there's where the problem appears. When in querry asterisk --> ' <-- appears there's no results (i.e Pink I'm not dead). But when i switch asterisk to other character --> ´ <-- that appears on CP site results shows up. So I've tried to replace every ' char to ´ char. But it seems that PanelsUI do not allow to use asterisk sign as function parameter. Is there any way to use asterisk as a string?

Please from below, thx from above :]



You could try referring to the ' as $char(39)

foo_ui_panels

Reply #2689


Thx Mr. :] Now it works fine. Sometimes quite obvious things comes on mind at the very end ;p
wolność dla dawxxx666

foo_ui_panels

Reply #2690

My skin often starts in the upper left corner even if I closed it in the upper right corner.
What can I do to start it always in the upper right corner?
Are there some sort of x/y start parameters?
Thanks!


Does someone have a solution for this?

do you mean to have your foobar start on the upper right hand corner of the screen?

what i need is for foobar to adjust to a corner of the screen so when i set the windowsize to 1280x1024 the window is aligned to my screen. (i've got titlebar as not showing, i'm using buttons to resize)

foo_ui_panels

Reply #2691
I can't force Foobar (PanelsUI 0.14.12) to change the tooltip (when F2K is in tray) each time when track is changed. The tooltip is changing only when Foobar is show. Bug in 0.14.12 or what?

foo_ui_panels

Reply #2692
Quote
Bug in 0.14.12 or what?

Yes

Suck.. eh? 

foo_ui_panels

Reply #2693
Yep... How good will it be if author of Panels UI would open the code to the community. Well...

foo_ui_panels

Reply #2694
ok, I am racking my brain here and going nuts....somebody pleeeeaaase help:

I have a pvar set to 0 at start. I then wish to change this var (0/1) by using a button:

Code: [Select]
$puts(var,PlaylistToggle)
$button2(15,25,0,0,40,12,'$font(calibri,9,bold,73-73-73)'test,'$font(calibri,9,bold,43-149-255)'test,
    PVAR:SET:$get(var):$ifequal($getpvar($get(var)),0,1,0),
    TOOLTIP:"test"
)


When I push the button nothing happens. I can see this var in a track info panel by "$getpvar(PlaylistToggle)" showing 0. Am I mistaken in thinking that by using the button, I should be able to toggle the value (and see it) on the fly?? Oh and it is in the // PerTrack section. Basically I wanted to use this in order to show/hide panels on the fly - is this the correct way, or is there a better way?

foo_ui_panels

Reply #2695
Instead of the:

Code: [Select]
$puts(var,PlaylistToggle)


Can't you get rid of the $puts() and just use the code:

Code: [Select]
$button2(15,25,0,0,40,12,'$font(calibri,9,bold,73-73-73)'test,'$font(calibri,9,bold,43-149-255)'test,
    PVAR:SET:PlaylistToggle:$ifequal($getpvar(PlaylistToggle),0,1,0),
    TOOLTIP:"test"
)


Thats what I do and it works for me. If there isn't a need to use the $puts() then I wouldn't bother using it.
Song List: keikoniumboards.ke.funpic.org/files/songlist.html

foo_ui_panels

Reply #2696
Instead of the:

Code: [Select]
$puts(var,PlaylistToggle)


Can't you get rid of the $puts() and just use the code:

Code: [Select]
$button2(15,25,0,0,40,12,'$font(calibri,9,bold,73-73-73)'test,'$font(calibri,9,bold,43-149-255)'test,
    PVAR:SET:PlaylistToggle:$ifequal($getpvar(PlaylistToggle),0,1,0),
    TOOLTIP:"test"
)


Thats what I do and it works for me. If there isn't a need to use the $puts() then I wouldn't bother using it.

Yea Ive tried that also, but still nothing happens, just cant seem to modify the var....I just dont get it 

foo_ui_panels

Reply #2697
This works for me (not sure that it should according to info about how buttons are meant to work):


$ifequal($getpvar(fullscreen),0,
   $button2($get(xOffset),$get(yOffset),0,0,8,15,,,'PVAR:SET:fullscreen:1',)
,
   $button2($get(xOffset),$get(yOffset),0,0,8,15,,,'PVAR:SET:fullscreen:0',)
)

foo_ui_panels

Reply #2698
Thanks for the quick replies.
This works for me (not sure that it should according to info about how buttons are meant to work):


$ifequal($getpvar(fullscreen),0,
   $button2($get(xOffset),$get(yOffset),0,0,8,15,,,'PVAR:SET:fullscreen:1',)
,
   $button2($get(xOffset),$get(yOffset),0,0,8,15,,,'PVAR:SET:fullscreen:0',)
)

I've tried that too, but no change... how else do you guys hide/show panels? Maybe theres another approach..

foo_ui_panels

Reply #2699
Are you putting this in the // PerTrack section?

It won't work anywhere else, and the spelling of all the section names must be exactly as per the spec.