Author Topic: [Feature Request] Close to Notification Tray / Click Notification Tray Icon to..  (Read 4059 times)

EGraf

  • Newbie
  • *
  • Posts: 5
new to musicbee, it looks great but I also was searching if there was an option like the one asked. +1 from me.


MegasXLR

  • Newbie
  • *
  • Posts: 4
  • Music Lover #1 <3
Seeing how Spotify has this I'd love such an option for MusicBee as well. Just started using it a few days ago and it's an amazing player for my local mp3 files. Wish this would come too :)


I love rock/metal/pop but don't mind any other music genre except чалга...that thing sux
I also love cars

PS I'm friendly

hugmenot

  • Newbie
  • *
  • Posts: 1
Out of a dozen tray apps (Syncthing, Calibre, VoIP, Torrent, every Games Store), MusicBee is the only one that doesn't close to tray, and most annoying since I open it often.
The lack of votes is a selection bias, not everyone will register on the forum to complain, or will find another app.

- It's basically a service with DLNA running in the background, a warning "Are you Sure? Yes/No" would be nice.
- Without looking, it's quicker/easier to hit the close button instead of aiming for minimize.
- It's expected, every music player has the option close to tray.
- It's impossible:

I made an AutoHotKey script for those you can't live without:

Code
#NoEnv
#SingleInstance Force

; Close to Minimize
Classes := "WindowsForms10.Window.8.app.0.2bf8098_r7_ad1" ;
Loop, parse, Classes, `,
    GroupAdd, GroupName, ahk_class %A_LoopField%

SetTimer CheckMouse, -100
return

CheckMouse:
    CoordMode, Mouse, Screen
    MouseGetPos, mX, mY, WindowUnderMouse
    WinGetPos, wX, wY, wW, wH, ahk_id %WindowUnderMouse%
        CloseButton := (mY > wY and mY < wY+35 and (mX > wX + (wW-50) and mX < wX+wW))
    SetTimer CheckMouse, -100
return

#If (CloseButton)

    ~LButton::
    ~RButton::
        MouseGetPos,,, WindowUnderMouse
        WinGetClass, Class, ahk_id %WindowUnderMouse%
        If Class in %Classes%
        {
            WinMinimize, ahk_id %WindowUnderMouse%
        }
    return

MegasXLR

  • Newbie
  • *
  • Posts: 4
  • Music Lover #1 <3
I made an AutoHotKey script for those you can't live without:

You are awesome! Thanks so much for this. I tried many solutions found around the internet but they all worked on apps that are not made using WinForms so didn't work for MB. I tried editing the class part but still didn't work. This works perfectly the way I expect it to :) Right now I have to complete my bachelor's degree but when I find some free time I'll definitely try to create a plugin which enables this functionaility. Maybe with options to choose where to minimize it to - taskbar or tray. Again thanks so much :P
Last Edit: September 19, 2020, 10:35:07 AM by MegasXLR


I love rock/metal/pop but don't mind any other music genre except чалга...that thing sux
I also love cars

PS I'm friendly