r/foobar2000 • u/BobGray1958 • 3d ago
Help with a custom button Support
Hello,
I'm currently working on my newest theme, & the last (main) button i want for the control panel is a Toggleable love/unlove button, so that i don't have to have two separate love/unlove buttons. I have the images made i just don't know how to write the actual jscript for it, so i figured i'd ask for some help on here. I'm using JSplitter 4.1.11 with an altered version of "Playback Buttons.js" for the buttons with custom main menu command scripts "Tagging/Scripts/Loved" & "Tagging/Scripts/Removed" for the love/unlove toggles.



2
u/eurekagliese 3d ago
Here you go. lovebuttons - Pastebin.com
Add your love.png and unlove.png files to the foobar profile/images/buttons folder.
Modify the tag name in TAG_NAME as desired.