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: [Not my release] foo_uie_panel_splitter (Read 408599 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[Not my release] foo_uie_panel_splitter

Reply #650
vogliadicane, sounds good. will try tomorrow, thanks!

few minutes later:
couldn't wait to try. it's really work! great. so simple, why can i get to it by myself?  thanks again.

one question left.. what about quick tagger and pss?

 

[Not my release] foo_uie_panel_splitter

Reply #651
@ssenna

I've a simple request, a way to invoke individual popups from the main menu.

i.e. clicking on a button defined like this: $textbutton(,,,,,,POPUP:view,,) would show the 'view' menu.

This way we could create our own "menu bar." The current CUI toolbar uses the system colors and black text over a dark background is pretty unusable 

Thanks!
<insert signature here>

[Not my release] foo_uie_panel_splitter

Reply #652
please answer, why I cant add buttons with CONTEXT commands such as run service and quick tagger? They are simple not showing in list.

[Not my release] foo_uie_panel_splitter

Reply #653
well, Ive understand how to make button with 'run service' context command - by manual adding command.. but with quick tagger it is not help

[Not my release] foo_uie_panel_splitter

Reply #654
Hi everyone, I'm loving PSS, it's a good middle ground between ease of title formatting and the power of WSH.

I'm trying to make a button to duplicate the selected playlist, any ideas? I figured I could just use the copy and paste commands accessible from the context menu but they they don't seem to work (or I'm doing it wrong). It's potentially a problem with first shifting the focus to the playlist switcher; I haven't figured out how to code that yet.

[Not my release] foo_uie_panel_splitter

Reply #655
In PSS, how do I get the selected artist(%artist%) in AlbumList?

[Not my release] foo_uie_panel_splitter

Reply #656
@BelleAndZEK:

You can't.
<insert signature here>

[Not my release] foo_uie_panel_splitter

Reply #657
is there a way to make the left panel stretch to the right, while the right panel is hidden?
see screenshot for better explanation


[Not my release] foo_uie_panel_splitter

Reply #658
is there a way to make the left panel stretch to the right, while the right panel is hidden?
see screenshot for better explanation

Code: [Select]
$if($isvisible_c(your_panel_right),
  $movepanel_c(your_panel_left,x,y,width_now,height_now),
  $movepanel_c(your_panel_left,x,y,width_wanted,height_now)
)

where your_panel_right is the name of panel on right side
your_panel_left accordingly
x, y width_now and height_now are positions and width/height of your left panel as is;
width_wanted and height_wanted the new ones.

edit: deleted image of quote...

[Not my release] foo_uie_panel_splitter

Reply #659
if you know how to show/hide panels with a button, surely you must know how to change the size of another panel? 

use either $isvisible_c or global variables to determine if a panel is visible or not then use $movepanel_c to change it's size.

[Not my release] foo_uie_panel_splitter

Reply #660
thank you for your replies! this complicates things, i was hoping that it could be done without forced layouts...
will try using $movepanel_c() function.

edit:
there is no way to edit the panel's SIZE variable by scripting?

[Not my release] foo_uie_panel_splitter

Reply #661
you mean like percentage width/height?

if so $muldiv(%ps_width%,40,100) = 40%

[Not my release] foo_uie_panel_splitter

Reply #662
you mean like percentage width/height?

if so $muldiv(%ps_width%,40,100) = 40%


no, i meant the size variable:
i would like to have two panels in a non-forced layout. and just to be able to modify the panel's size variable by clicking on a scripted button.


[Not my release] foo_uie_panel_splitter

Reply #663
Is there a specific reason you don't want to use the forced layout option?

[Not my release] foo_uie_panel_splitter

Reply #664
To be able to resize the panels by click+drag maybe?

Also, to achieve such thing, I had to switch between two different things:

- A splitter containing i.e. the playlist and Lyrics panel
- Just the the playlist panel

I don't know if would work for a panel different than NG playlist, though.
<insert signature here>

[Not my release] foo_uie_panel_splitter

Reply #665
the main reason is what xbullethammer said. i want the left panel to be locked, so that when i resize the window, it's size remains the same.
i can resize the right panel to totally hide the left panel, but if the left panel is locked a bug occurs. i can never get the left panel to show again by resizing the right panel because the left panel's size is now set to 0 and it's locked. i have to manually reset the size variable in pss config.

[Not my release] foo_uie_panel_splitter

Reply #666
Jeremija, try this.

Filter:
Forced Layout enabled.
Left - 1
Top - 0
Width - 260
Height - %_height%

Playlist:
Forced Layout enabled.
Left - <blank>
Top - 0
Width - <blank>
Height - %_height%

Script
$imagebutton(0,0,5,1000,,C:\Foobar2000\Images\toggle.png,PANELSHOW:'Filter':-1;REFRESH,,)

$if($isvisible_c(Filter),
$movepanel_c(Playlist,261,0,$sub(%_width%,261),%_height%),
$movepanel_c(Playlist,1,0,%_width%,%_height%))

There's two panels, FILTER & PLAYLIST. When Foobar2000 is maximized, click the left border to show/hide left (FILTER) panel. The right panel resizes to fill window accordingly.

Of course, this will just give you the concept. You might need to adjust parameters to your needs.

[Not my release] foo_uie_panel_splitter

Reply #667
Thank you, I'm currently not able to try the script, but this seems like great workaround.
If only the border between the panels would be resizable...
I would've used the horizontal splitter instead, but it's not as customizable as PSS...

[Not my release] foo_uie_panel_splitter

Reply #668
You can show/hide panels with the horizontal splitter if that's all you want to do- go to Columns UI>Layout, click on the panel you want to hide and check 'create left toggle area', then you can hide that panel by clicking on the splitter. It's only a really thin bit that you can click though, so it's not ideal.

[Not my release] foo_uie_panel_splitter

Reply #669
Hi,

i need help with buttons. I want to create a button to open my lastfm loved radio. So i do

Code: [Select]
$textbutton($add($get(radio_l),18),50,40,16,Loved,Loved,COMMAND:'File/Open Last.fm Radio Station/Open carmenm's loved Last.fm Radio.',Fontcolor:0-0-0,Fontcolor:180-180-180)


But if you look closely you ll see a "'" in the middle which makes everything crash in the script.

Any idea on how to correct that?

Thanks

[Not my release] foo_uie_panel_splitter

Reply #670
try $char(39)

[Not my release] foo_uie_panel_splitter

Reply #671
I am trying to replace an old foo_trackinfo_mod panel with a foo_uie_panel_splitter panel. So I don't use it to house an entire layout which I design with Columns UI. However, even with a small Splitter panel, keyboard shortcuts refuse to work reliably. I always have to click on a playlist item to make foobar react on keyboard input again. Is there a known work-around for this? I would like to create some fullscreen layouts with it, but when I can't switch back to my browsing layout by a key press, it has no use for me.

Thanks for help and remarks!

[Not my release] foo_uie_panel_splitter

Reply #672
try $char(39)

i tried to replace the "'" in the middle with $char(39) but it doesn't work. The script seems to load fine but the command doesnt work

[Not my release] foo_uie_panel_splitter

Reply #673
maybe you should use the command without quotes at all - before file and after radio (it works even if there is a space within your command)

Moderation: Removed useless full quote of the preceding post.

[Not my release] foo_uie_panel_splitter

Reply #674
It works!
Thanks a lot

Moderation: Removed useless full quote of the preceding post.