Help - Search - Members - Calendar
Full Version: a question about $button in follow cursor mode
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
kabuki
Hi,

I make buttons like in those exemples:
$button(X,Y,,,20,20,texte,hottext,PROPERTIES,TOOLTIP:"")
or
$button(X,Y,,,20,20,texte,hottext,LYRICS/GET FROM DB,TOOLTIP:"")
or
$button(X,Y,,,20,20,texte,hottext,DISCOGS/WRITE TAGS...,TOOLTIP:"")

first case:
if track display is in now playing mode, those buttons make action for the track is playing smile.gif
second case:
if track display is in Follow cursor mode, those buttons make action for the track selected wink.gif

I would like to know if it would be possible to make "follow cursor" mode acts more than a "follow (multiple) selection" mode.
My problem is that, when multiple tracks are selected (one complete album, for exemple), and the follow cursor mode activated, buttons act only for the first track selected, and not for all selection.
I think it would be interresting to have the possibility to make buttons act like the right-clic menu...
Imagine a buttons to rate album, or make a replaygain scan by album, added to another button with this action "EDIT/SELECTION/EXPAND/BY ALBUM"...
This would be great, no ?

Could you tell me if this "request" can have interest for the community ?

Thanks
wraithdu
Add 'context-selected' or 'context-playing' options to your button code (check the PanelsUI changelog). Oh, and make sure to use the full path for the button command.
kabuki
I've notice the 'context-selected' in FofR config, but thought it was relative to ... tooltips... blink.gif !!! because CONTEXT-SELECTED TOOLTIPS wasn't seperated by coma.
And I notice it in the changelog, but for a non-english like me, it wasn't very explicit. Now, it makes sense.

I thank you wraithdu for your help. Yes, Thank you.
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.